You are viewing an offline version of MongoDB documentation. Some page features might be unavailable. To view the latest version of the page or use interactive features, visit the live page.
$natural
Definition
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 can specify a $natural
sort when running a find
operation against a view.