Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working for ordered queries #7

Open
Sadbot opened this issue Jan 29, 2020 · 3 comments
Open

Not working for ordered queries #7

Sadbot opened this issue Jan 29, 2020 · 3 comments

Comments

@Sadbot
Copy link

Sadbot commented Jan 29, 2020

For example:
g.db_session.query(Task)
.filter(Task.user_name == user_name)
.order_by(Task.created_on.desc())
page = paginate(tasks, page + 1, size)

Paginate result without ordering

@duycuong87vn
Copy link

@Sadbot , any update for this issue ?

@Sadbot
Copy link
Author

Sadbot commented Mar 15, 2020

@duycuong87vn No, nothing updated

@Gledros
Copy link

Gledros commented Mar 25, 2022

Is it really not working? I'm using it and looks like it does preserve the query ordering

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants