Navigation

$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.