-
Notifications
You must be signed in to change notification settings - Fork 132
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
AND condition is not working within Objects/List of Objects in DI query #1614
Comments
cc @nmirasch |
@nmirasch @cristianonicolai - Could you please help here? |
@debu999 @prerana15 Could you please create a jira with all the details, to track the enhances you see, specially with DI , that would improve to follow the needs and to have them into account when defining development priorities, Thanks! |
@nmirasch - |
@nmirasch - did anyone get chance to look into this? |
Hi All, |
My requirement is - I have a process which contains an Array. I want to filter the process based on $elemMatch (used in Mongo Db) in an array. Is there a way I can query Array in DI.
If I use containsAny or Contains - the DI query is giving random results (not exact match).
Sample Query:
query Comments(where:
{commentary:
{commentList:
commentCategoryCode:{equal:"RESOLVE_NOTES"},
commentText:{like:"comment"}}}{
commentary {
commentList{
commentCategoryCode
commentText
}
}
}
Expected Result:
get all the commentary objects where commentCategoryCode is RESOLVE_NOTES and commentText is like "comments"
Actual Result:
getting results even if commentText is matching in commentCategoryCode = "NOTES"
Note: We have 2 commentCategoryCode - RESOLVE_NOTES and NOTES
The text was updated successfully, but these errors were encountered: