[DOCS-9689] Document that $natural sorts cannot be used with views Created: 21/Dec/16  Updated: 30/Oct/23  Resolved: 22/Dec/16

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Major - P3
Reporter: Kyle Suarez Assignee: Kay Kim (Inactive)
Resolution: Done Votes: 0
Labels: bite-sized, read-only-views
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 7 years, 8 weeks ago

 Description   

Users cannot request a $natural sort on a view; that is,

db.view.find().sort({$natural: 1})

will fail. It would be nice if we added this behavior to core/views.



 Comments   
Comment by Githook User [ 22/Dec/16 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-9689 views and sort restriction
Branch: master
https://github.com/mongodb/docs/commit/10444f57a4c6b1fb7522fa936830c6aec043ab67

Comment by Githook User [ 21/Dec/16 ]

Author:

{u'username': u'kay-kim', u'name': u'kay', u'email': u'kay.kim@10gen.com'}

Message: DOCS-9689 views and $natural sort restriction
Branch: master
https://github.com/mongodb/docs/commit/034a8ac20c913bd6889c0317498c3919d6314a04

Generated at Thu Feb 08 07:58:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.