-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Adds oldest, latest methods to QueryBuilder, fixes #790 #795
Adds oldest, latest methods to QueryBuilder, fixes #790 #795
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't really like the order by raw solution here. If we do the order by raw it won't work with postgres or sql server
for field in fields:
self.order_by(field, "desc")
Updated to |
tests? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks better but will need some tests to make me feel comfortable with it
Done |
1 similar comment
Done |
f2ea13f
to
8f248f0
Compare
fixes #790