Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
select
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
For performance reasons when querying all items for a given model, we need to allow a user to specify a form of pagination
In order to leverage familiarity with the fantastic pydantic_aioredis, we can use skip and limit i.e.
skip
limit
Book.select(limit=10, skip=100)
Note: limit and skip should be ignored when ids are specified so as to avoid unexpected results. i.e.
ids
assert Book.select(ids=["Jane Eyre"], limit=0, skip=100) == Book.select(ids=["Jane Eyre"])
The text was updated successfully, but these errors were encountered:
Close #20: Add pagination to select
94c9172
da988ec
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
For performance reasons when querying all items for a given model, we need to allow a user to specify a form of pagination
In order to leverage familiarity with the fantastic pydantic_aioredis, we can use
skip
andlimit
i.e.Note:
limit
andskip
should be ignored whenids
are specified so as to avoid unexpected results.i.e.
The text was updated successfully, but these errors were encountered: