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

Add .exists() query builder method #687

Closed
os-nikita opened this issue May 26, 2022 · 0 comments · Fixed by #694
Closed

Add .exists() query builder method #687

os-nikita opened this issue May 26, 2022 · 0 comments · Fixed by #694
Labels
enhancement A feature that exists, works as intended but needs to be improved

Comments

@os-nikita
Copy link

Rather than having to pull in a model record to check for existence, or creating a custom query, it would be nice to just do User().query().where(...).exists() == False

@os-nikita os-nikita added the enhancement A feature that exists, works as intended but needs to be improved label May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A feature that exists, works as intended but needs to be improved
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants