I want to query something with SQL\'s like query:
like
SELECT * FROM users WHERE name LIKE \'%m%\'
How to do I achieve the same in
You would use regex for that in mongo.
e.g: db.users.find({"name": /^m/})
db.users.find({"name": /^m/})