Answers for "mongodb regex case insensitive"

0

mongodb regex case insensitive word

{name:{'$regex' : '.*string.*', '$options' : 'i'}}
Posted by: Guest on April-29-2021
0

mongodb regex case insensitive

db.collection.find({name:{'$regex' : '^((?!string).)*$', '$options' : 'i'}})
Posted by: Guest on July-31-2020

Browse Popular Code Answers by Language