$option operators in Mongo DB

Report a typo

Match $option operator indicators with corresponding function:

Match the items from left and right columns
$options: 'i'
$options: 'm'
$options: 's'
$options: 'x'
allows regex dot symbol to match all characters including \n
returns multiple lines for patterns with '^' or '$' anchors
ignores all white space characters in regex pattern unless escaped
helps to avoid case sensitivity
___

Create a free account to access the full topic