diff options
-rw-r--r-- | db/query.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/db/query.h b/db/query.h index 62f4f5925bb..29f13783369 100644 --- a/db/query.h +++ b/db/query.h @@ -48,7 +48,9 @@ dbQuery: string collection; int nToSkip; - int nToReturn; // how many you want back as the beginning of the cursor data (0=no limit) + int nToReturn; // how many you want back as the beginning of the cursor data (0=no limit) + // greater than zero is simply a hint on how many objects to send back per "cursor batch". + // a negative number indicates a hard limit. JSObject query; [JSObject fieldsToReturn] dbGetMore: |