View difference between Paste ID: jn5byMcA and 74cFXVTH
SHOW: | | - or go back to the newest paste.
1-
db.users.find({name: 'Manuel'});
1+
// what about
2-
2+
db.users.update({"name": "Manuel"}, {$pull: {"channels": {$elemMatch: {"time": 1353933189784, socket_id: { $gt: 0 }, channel_id: { $gt: 0 }}}}});