This is my collection schema:
var objectSchema = new Schema({
members: [{
user_id: ObjectId,
settings: {
type: Boolean
}
}],
title: String
});
And now I'm trying to search for objects with specific members (identified by their "user_id", for example ["asdf123lkd", "asdf1223"]). Is there any way to search for these objects?
Thanks!
You can try this: