summaryrefslogtreecommitdiff
path: root/db/query.h
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2008-08-12 10:30:27 -0400
committerDwight <dmerriman@gmail.com>2008-08-12 10:30:27 -0400
commitf4f3aacad74eb230934fc7f9a0888fd0b27bc42e (patch)
tree8ac396da89f8cf1248b1672aeac5a3d92c148cf7 /db/query.h
parent39310ed11380ff892fac7cab8690de60bf371f3d (diff)
downloadmongo-f4f3aacad74eb230934fc7f9a0888fd0b27bc42e.tar.gz
checkpoint my work
Diffstat (limited to 'db/query.h')
-rw-r--r--db/query.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/db/query.h b/db/query.h
index 93b648da9d7..56b31e0a99c 100644
--- a/db/query.h
+++ b/db/query.h
@@ -63,18 +63,7 @@
Note that the update field layout is very similar layout to Query.
*/
-/* the field 'options' above can have these bits set: */
-enum {
- /* Tailable means cursor is not closed when the last data is retrieved. rather, the cursor makrs
- the final object's position. you can resume using the cursor later, from where it was located,
- if more data were received. Set on dbQuery and dbGetMore.
-
- like any "latent cursor", the cursor may become invalid at some point -- for example if that
- final object it references were deleted. Thus, you should be prepared to requery if you get back
- ResultOption_CursorNotFound.
- */
- Option_CursorTailable = 2
-};
+// see dbclient.h for query options enum
/* db response format