-
-
Notifications
You must be signed in to change notification settings - Fork 353
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
feat(sqlalchemy): allow repository functions to be filter by expressions #2265
Conversation
d69bdda
to
4e2f452
Compare
Kudos, SonarCloud Quality Gate passed! |
Documentation preview will be available shortly at https://litestar-org.github.io/litestar-docs-preview/2265 |
@Alc-Alc nice work on this one! |
…ry methods that supports filter.
…tar into enhanced-repo-filters
works like a charm, thanks for the quick turnaround on this! Using this syntax |
and no issues with my mypy setup for me. but im not getting any errors using the new syntax with the old branch so probably something on my side that i should resolve |
…pport for all relevant repository methods.
…ry methods that supports filter.
9a71b5f
to
4dfa81f
Compare
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.
Great stuff!
…tar into enhanced-repo-filters
Pull Request Checklist
Description
where
expressions into the repository functions.Without this, you have to override the
statement
parameter and it separates the where conditions from the filters and thekwargs
.Allows usage of this syntax:
instead of the previous method of overriding the
statement
:Close Issue(s)