File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/asciidoc/reference Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2198,7 +2198,7 @@ directly there are several methods for those options.
2198
2198
----
2199
2199
Query query = query(where("firstname").is("luke"))
2200
2200
.comment("find luke") <1>
2201
- .batchSize (100) <2>
2201
+ .cursorBatchSize (100) <2>
2202
2202
----
2203
2203
<1> The comment propagated to the MongoDB profile log.
2204
2204
<2> The number of documents to return in each response batch.
@@ -2209,7 +2209,7 @@ On the repository level the `@Meta` annotation provides means to add query optio
2209
2209
====
2210
2210
[source,java]
2211
2211
----
2212
- @Meta(comment = "find luke", batchSize = 100, flags = { SLAVE_OK })
2212
+ @Meta(comment = "find luke", cursorBatchSize = 100, flags = { SLAVE_OK })
2213
2213
List<Person> findByFirstname(String firstname);
2214
2214
----
2215
2215
====
You can’t perform that action at this time.
0 commit comments