Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

mongodb regex

{ <field>: { $regex: /pattern/, $options: '<options>' } }
{ <field>: { $regex: 'pattern', $options: '<options>' } }
{ <field>: { $regex: /pattern/<options> } }
Source by docs.mongodb.com #
 
PREVIOUS NEXT
Tagged: #mongodb #regex
ADD COMMENT
Topic
Name
4+2 =