-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Find api is now updated and clarified. You can no longer pass in fields, and you cannot pass in individual options as parameters. BREAKING CHANGE: `find` and `findOne` no longer support the `fields` parameter. You can achieve the same results as the `fields` parameter by either using `Cursor.prototype.project`, or by passing the `projection` property in on the `options` object. Additionally, `find` does not support individual options like `skip` and `limit` as positional parameters. You must pass in these parameters in the `options` object
- Loading branch information
1 parent
98f8205
commit f26362d
Showing
10 changed files
with
227 additions
and
353 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.