We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm not sure if it's currently possible, but I didn't find anything related to that.
I mean, to be able to use group_by in json query for some Date, DateTime column, but to group by only by year or month or day, etc.
group_by
Date
DateTime
In sqlalchemy it's done somehow like this
import sqlalchemy as sa DBSession.query(Article).group_by( sa.func.year(Article.created), sa.func.month(Article.created)).all()
The text was updated successfully, but these errors were encountered:
Seems like a valid feature...
Sorry, something went wrong.
No branches or pull requests
I'm not sure if it's currently possible, but I didn't find anything related to that.
I mean, to be able to use
group_by
in json query for someDate
,DateTime
column, but to group by only by year or month or day, etc.In sqlalchemy it's done somehow like this
The text was updated successfully, but these errors were encountered: