Fix Javadoc for DatabaseClient

The documentation for DatabaseClient had misplaced double quotes in the
example on how to map a select statement to a row.

Closes gh-28520
This commit is contained in:
hsteinmueller 2022-05-24 13:04:19 +02:00 committed by Sam Brannen
parent 7b95c928d1
commit bde0931e51
1 changed files with 2 additions and 2 deletions

View File

@ -45,8 +45,8 @@ import org.springframework.util.Assert;
*
* DatabaseClient client = DatabaseClient.create(factory);
* Mono<Actor> actor = client.sql("select first_name, last_name from t_actor")
* .map(row -> new Actor(row.get("first_name, String.class"),
* row.get("last_name, String.class")))
* .map(row -> new Actor(row.get("first_name", String.class),
* row.get("last_name", String.class)))
* .first();
* </pre>
*