I'm wanting to do pagination, I'm using PostgreSQL. To avoid doing the query twice, I'm using the feature described at https://stackoverflow.com/a/8242764
How can I add the full_count
column to the list of columns fetched in my query. I can use query.add_columns
, but that column is not accessible after calling query.all()
Is this possible in SQLAlchemy?