Advertisement
coderbyheart

Untitled

Nov 27th, 2012
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // what about
  2. db.users.update({"name": "Manuel"}, {$pull: {"channels": {$elemMatch: {"time": 1353933189784, socket_id: { $gt: 0 }, channel_id: { $gt: 0 }}}}});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement