When you’re querying Postgres, you need to choose between: Using an ORM. This gives you “native” feeling APIs to query the database. Using raw SQL. This gives you the ultimate flexibility and performance and gives you more transferable skills. It’s always helpful to know how to write SQL.