Skip to content

Commit

Permalink
Fix linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
alcaeus committed Oct 30, 2024
1 parent dc44c22 commit 041345a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions source/crud/crud.md
Original file line number Diff line number Diff line change
Expand Up @@ -970,10 +970,9 @@ cursor. Due to the special case, `findOne` does not support the following option
##### Setting limit and batchSize options for find commands
When users specify both `limit` and `batchSize` options with the same value, the server returns all results in the
first batch, but still leaves an open cursor that needs to be closed using the `killCursors` command. To avoid this,
drivers MUST send a value of `limit + 1` for `batchSize` in the resulting `find` command. This eliminates the open
cursor issue.
When users specify both `limit` and `batchSize` options with the same value, the server returns all results in the first
batch, but still leaves an open cursor that needs to be closed using the `killCursors` command. To avoid this, drivers
MUST send a value of `limit + 1` for `batchSize` in the resulting `find` command. This eliminates the open cursor issue.
##### Combining Limit and Batch Size for OP_QUERY
Expand Down

0 comments on commit 041345a

Please sign in to comment.