Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "_id" : ObjectId("5c7c804f14b4c026ba7fcaba"),
- "values" : [
- {
- "active" : true,
- "id" : 30,
- },
- {
- "active" : true,
- "id" : 33,
- },
- {
- "active" : true,
- "id" : 34,
- },
- {
- "active" : true,
- "id" : 35,
- },
- {
- "active" : true,
- "id" : 36,
- }
- ]
- {
- "_id" : ObjectId("5c7c804f14b4c026ba7fcaba"),
- "values" : [
- {
- "active" : true,
- "id" : 30,
- },
- {
- "active" : true,
- "id" : 34,
- },
- {
- "active" : true,
- "id" : 35,
- },
- {
- "active" : true,
- "id" : 36,
- }
- ]
- db.test.find( { 'value.id': { $ne: 33 } } )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement