sqlakeyset
sqlakeyset copied to clipboard
offset-free paging for sqlalchemy
`perform_paging` is broken when running SQLAlchemy 1.4.7. This fix worked for me: ```python def perform_paging(q, per_page, place, backwards, orm=True, s=None): if orm: selectable = orm_to_selectable(q) s = q.session column_descriptions =...
This adds a workflow to circleCI triggered off the master branch which: - Builds the sphinx documentation to HTML - Pushes the built documentation to an orphan branch `gh-pages`. (at...
The select version was super challenging to write, but we made it. Lots of type wrangling to get the query to work with orm entities. Doesn't work in 1.3, but...
I use sqlakeyset to do keyset-based pagination in my GraphQL server. It works great for top-level resolvers, but if I have nested pages, I end up encountering the [N +...
Currently it is not possible to eager load relationships on a query against an entity that has a one to many relationship using sqlalchemy 2.0 style queries. As an example:...