OPTIONS

$query

On this page

Definition

$query

Deprecated since version 3.2: The $query operator is deprecated. Use the cursor methods to apply options to a cursor.

The $query operator forces MongoDB to interpret an expression as a query.