I have a collection of thousands of documents. Each document has 5 fields (fields: _id, Name, Event, Phone, City).
Each name (The names are repeated) has multiple events. I made a query where I get all "name" with "event" = "A".
Now I want to make another query to call the previous query. Is this possible with Mongodb?
On the other hand ...
If I have a collection of thousands of documents (fields: name, age ...) and I have a list of 500 names, and I just want to do the query on those 500 names. What would I do?
Thx.