-
Notifications
You must be signed in to change notification settings - Fork 123
Add a page
function for find
#284
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
Comments
In the meantime, |
How do I use this? Can you put up an example code snippet? |
Assuming your model class is called Entity:
|
Current functionality of the execution of queries appends all results together - redis-om-python/aredis_om/model/model.py Line 740 in dcd84e0
This change will require changing how results are returned to users, not just adding a function. Closed the draft PR I had for this after realizing the above. |
@simonprickett - wiseaidev implemented this how it's described so I think we should go ahead and close this |
Allow the user to page through all results rather than returning them all in one go...
.find().page(offset, limit)
. See Redis OM Node for a good example.The text was updated successfully, but these errors were encountered: