How to query MongoDB with “like”??

I want to query something with SQL's like query: SELECT * FROM users WHERE name LIKE '%m%' How to do I achieve t...

How to query MongoDB with “like”??

I want to query something with SQL's like query: SELECT * FROM users WHERE name LIKE '%m%' How to do I achieve t...