an audit for some changes (#40680)

This commit is contained in:
Steven Ding
2021-01-13 00:31:18 +08:00
committed by GitHub
parent 797cc3024e
commit ab222e31e7
6 changed files with 80 additions and 18 deletions

View File

@@ -7,7 +7,7 @@ forumTopicId: 301545
# --description--
`Model.findOne()` behaves like `.find()`, but it returns only one document (not an array), even if there are multiple items. It is especially useful when searching by properties that you have declared as unique.
`Model.findOne()` behaves like `Model.find()`, but it returns only one document (not an array), even if there are multiple items. It is especially useful when searching by properties that you have declared as unique.
# --instructions--