Skip to content

Commit 249aa5e

Browse files
chaodhibmp911de
authored andcommitted
DATACASS-660 - Fix typo regarding the usage of Query objects.
Original pull request: #160.
1 parent 3d3330b commit 249aa5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/asciidoc/reference/cassandra.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1239,7 +1239,7 @@ List<Person> result = cassandraTemplate.select(query(where("age").is(50))
12391239
----
12401240
====
12411241

1242-
The `select`, `selectOneById`, and `stream` methods take a `Query` object as a parameter. This object defines the criteria
1242+
The `select`, `selectOne`, and `stream` methods take a `Query` object as a parameter. This object defines the criteria
12431243
and options used to perform the query. The criteria is specified by using a `Criteria` object that has
12441244
a static factory method named `where` that instantiates a new `Criteria` object. We recommend using a static import
12451245
for `org.springframework.data.cassandra.core.query.Criteria.where` and `Query.query`, to make the query more readable.

0 commit comments

Comments
 (0)