Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

How to query mongodb with like

In MySql you have normally used below code to find by like select * from users where name like '%text%' But in order to use like in mongoDb you have write the below code:- You can use the actual regex object via MongoRegex db.collec...

MongoDB : Regex

MongoDB - Regular Expression In MongoDB if we need to find record with certain pattern, then we can use regular expression. It is also "like" query in SQL. e.g. If we want to find user email matching with "findnerd.com" pattern. db.colle...
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: