[DOCS-6103] db.collection.find() is not fully documented Created: 26/Aug/15  Updated: 11/Jan/17  Resolved: 28/Oct/15

Status: Closed
Project: Documentation
Component/s: dochub
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Task Priority: Major - P3
Reporter: Jonathan Abrahams Assignee: Kay Kim (Inactive)
Resolution: Won't Fix Votes: 0
Labels: 32qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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

 Description   

The shell helper for db.collection.find() only documents query & projection. The other parameters are undocumented:

db.foo.find
function ( query , fields , limit , skip, batchSize, options )



 Comments   
Comment by David Storch [ 26/Aug/15 ]

These parameters are available for backwards compatibility. I think the "modern" way to specify skip, limit, batchSize, and options is .skip(), .limit(), .batchSize(), and .addOption() respectively. I would therefore recommend against adding this documentation.

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