Answer by Sarath Nair for Multiple $elemMatch in one query
You cannot use multiple projection operator ($) in a query. The positional operator only supports one level nesting and also it matches the first element.There is a JIRA ticket on this:...
View ArticleMultiple $elemMatch in one query
My basic structure is this for a user:{name : 'name',lists : [ {id : 'xyz', items : [ {name : 'itemName', purchased : false } ] }]}I want to write a query where I can update itemName's purchased Bool.I...
View Article
More Pages to Explore .....