Answers for "mongoose regexp"

SQL
0

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" }})
Posted by: Guest on April-23-2021
1

mongodb regex

{ <field>: { $regex: /pattern/, $options: '<options>' } }
{ <field>: { $regex: 'pattern', $options: '<options>' } }
{ <field>: { $regex: /pattern/<options> } }
Posted by: Guest on November-05-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language