Answers for "mongodb regex"

1

mongodb regex

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

"compass" mongodb filter or search regex

{
  email: RegExp('@gmail.com$', 'i')
}
Posted by: Guest on September-03-2020

Browse Popular Code Answers by Language