Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

regex mongoose

db.products.find( { description: { $regex: /string/, $options: 'si' } } )
db.products.find( { 'description.key': { $regex: /string/, $options: 'si' } } )
db.products.find({"name" : { $regex:"Cola", $options:"i" }})
Source by docs.mongodb.com #
 
PREVIOUS NEXT
Tagged: #regex #mongoose
ADD COMMENT
Topic
Name
2+1 =