-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Support options arg for distinct()
: Model.distinct() doesn't have { session }
#8006
Comments
You can use it this way Model.distinct(...).setOptions({ session: exampleSession }) The reason why distinct() doesn't support options parameter is that we can't distinguish the input object is for |
Thank you for clarification! |
Thanks for the clarification. I think that discouraging using the Currently some |
distinct()
: Model.distinct() doesn't have { session }
feat(model+query): support `options` parameter for distinct()
Unlike other methods
distinct()
doesn't have { session } option.How to workaround it?
The text was updated successfully, but these errors were encountered: