3 ms·
To expand on this.. You could use $exists, $gt, $eq, $ne, $in, $nin, regex, and all kinds of other ways to query what you want. If the programmer wanted to ex
by asher_ 10y ago
To expand on this..
You could use $exists, $gt, $eq, $ne, $in, $nin, regex, and all kinds of other ways to query what you want.
If the programmer wanted to exclude "secret projects" the query should have had a form similar to
{ $and: [{ type: { $ne: 'secret projects' }}, <rest of query>] }