-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
MongoDB - query by DBRef #367
Labels
enhancement
New feature or request
Comments
This is not possible unfortunately. It requires complex Mongo queries in the backend. |
Ok, the cleanest workaround is to add two parameter in the controller:
this kind of query works for example: { "role.$id" : { "$in" : [{ "$oid" : "6411a9fe93dc05fff53666c4"}]}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
com.turkraft.springfilter mongo 3.1.7I'm using this version:
there's a way to create a filter for a DBRef property?
For example, if I have this class:
class User{
String name;
String surname;
...
@DBREF
private List role;
}
how can I do for example a query by role.$id = "642ebb0e91ac8f778f5654b7" ?
The text was updated successfully, but these errors were encountered: