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:
parent
7b95c928d1
commit
bde0931e51
|
@ -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>
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue