Reputation: 1133
I would like to search for a pattern, for each element in a list, which is a nested field in MongoDB. I have an Object, which contains authors list, which can contain from 0 to N elements. I want to retrieve objects whose authors met the search pattern. An author contains 4 fields, I only scan for names and surnames. How to do that within MongoDB query?
Upvotes: 0
Views: 59