Skip to content

Commit 34d7a3d

Browse files
robeatozchristophstrobl
authored andcommitted
Fix parameter and method name in reference documentation.
Closes: #4247
1 parent 2f3e134 commit 34d7a3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/asciidoc/reference/mongodb.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2198,7 +2198,7 @@ directly there are several methods for those options.
21982198
----
21992199
Query 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 })
22132213
List<Person> findByFirstname(String firstname);
22142214
----
22152215
====

0 commit comments

Comments
 (0)