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.
21982198----
21992199Query query = query(where("firstname").is("luke"))
22002200 .comment("find luke") <1>
2201- .batchSize (100) <2>
2201+ .cursorBatchSize (100) <2>
22022202----
22032203<1> The comment propagated to the MongoDB profile log.
22042204<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
22092209====
22102210[source,java]
22112211----
2212- @Meta(comment = "find luke", batchSize = 100, flags = { SLAVE_OK })
2212+ @Meta(comment = "find luke", cursorBatchSize = 100, flags = { SLAVE_OK })
22132213List<Person> findByFirstname(String firstname);
22142214----
22152215====
You can’t perform that action at this time.
0 commit comments