From b361f74111a91c5bfffadd253e2a22d8d1e14ee7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20Puente=20Sarr=C3=ADn?= Date: Sun, 7 Apr 2013 23:55:59 -0500 Subject: [PATCH] Minor typo on read.txt document --- source/core/read.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/core/read.txt b/source/core/read.txt index 69b88f176c3..e4a1c1847b9 100644 --- a/source/core/read.txt +++ b/source/core/read.txt @@ -99,8 +99,8 @@ syntax: Return All Documents in a Collection ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -If there is no ```` argument, the :method:` -~db.collection.find()` method selects all documents from a collection. +If there is no ```` argument, the :method:`~db.collection.find()` +method selects all documents from a collection. The following operation returns all documents (or more precisely, a cursor to all documents) in the ``bios`` collection: @@ -550,7 +550,7 @@ more information regarding cursors. .. [#dbquery-server] Regardless of the order you chain the :method:`~cursor.limit()` and the :method:`~cursor.sort()`, the request to the server has the structure that treats the - query and the :method:` ~cursor.sort()` modifier as a single object. + query and the :method:`~cursor.sort()` modifier as a single object. Therefore, the :method:`~cursor.limit()` operation method is always applied after the :method:`~cursor.sort()` regardless of the specified order of the operations in the chain. See the :doc:`meta