Navigation
This version of the documentation is archived and no longer supported.

$natural

Definition

$natural

Changed in version 3.2: Use in conjunction with cursor.hint() to perform a collection scan to return documents in natural order.

For usage, see Force Collection Scans example in the cursor.hint() reference page.

You cannot specify a $natural sort on a view.