Comparison operators

The following is a list of all comparison operators that MongoDB supports:

Name

Description

$eq

Matches values that are equal to a specified value

$gt

Matches values that are greater than a specified value

$gte

Matches values that are greater than or equal to the specified value

$lt

Matches values that are less than the specified value

$lte

Matches values that are less than or equal to the specified value

$ne

Matches all values that are not equal to the specified value

$in

Matches any of the values specified in an array

$nin

Matches none of the values specified in an array

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.190.156.93