-
Notifications
You must be signed in to change notification settings - Fork 2
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
Query trait and find options #2
Comments
And I found that it's not even possible to pass options directly to |
Hey there! Good call, I'll look into this in a couple of days, hopefully tomorrow. I hope that all similar methods could be uniformly transformed into taking |
@max-frai Added some |
Yes, exactly what I need. Now I can write something like:
Thank you! :) |
No problem, I'll push a new version to crates.io in a moment. |
@max-frai v0.4.0 published on crates.io. |
Hi! I found that in
Query
trait method options (https://docs.rs/avocado/0.3.3/avocado/ops/trait.Query.html#method.options) is static method (does not have access to data).It's useful to access some inner data to configure, for example,
count
andlimit
. I need this for pagination query where that params are dynamic for options but the same for filtering.The text was updated successfully, but these errors were encountered: