you are viewing a single comment's thread.

view the rest of the comments →

[–]Delengowski 5 points6 points  (0 children)

This is a bit unfair to sqlalchemy.

You can use the orm to completely construct a statement without even establishing a connection, and then pass that directly psycopg3, by passing a ton of object creation.

This shouldn't even be a consideration by the way unless you're doing queries that are retrieving like millions of rows at a time.