robertvari

mongoDB - find by regex

Nov 26th, 2018
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.07 KB | None | 0 0
  1. db.getCollection('Messages').find({"text" : {$regex : ".*subject.*"}})
Advertisement
Add Comment
Please, Sign In to add comment