We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4b1631 commit f9cdd4eCopy full SHA for f9cdd4e
source/reference/method/db.collection.findOne.txt
@@ -14,7 +14,8 @@ Definition
14
returns the first document according to the :term:`natural order`
15
which reflects the order of documents on the disk. In :term:`capped
16
collections <capped collection>`, natural order is the same as
17
- insertion order.
+ insertion order. If no document satisfies the query, the method
18
+ returns null.
19
20
.. include:: /includes/apiargs/method-db.collection.findOne-param.rst
21
0 commit comments