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

2 methods migrated directly from original peewee #162

Closed
wants to merge 1 commit into from

Conversation

pylakey
Copy link

@pylakey pylakey commented Nov 29, 2021

Added method first() as it has better performance with big tables comparing to get() method because it doesn't query all data from table

Added method get_or_none() which is more useful than handling exceptions in some situations

@kalombos
Copy link
Collaborator

thank you @pylakey but the manager is deprecated and will be removed in version v1.0.0 You can add these methods to AioModel though. Also see #227

@kalombos kalombos closed this May 12, 2024
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

Successfully merging this pull request may close these issues.

2 participants