Skip to content

Commit

Permalink
Fix Javadoc for DatabaseClient
Browse files Browse the repository at this point in the history
The documentation for DatabaseClient had misplaced double quotes in the
example on how to map a select statement to a row.

Closes gh-28520
  • Loading branch information
hsteinmueller authored and sbrannen committed May 24, 2022
1 parent 7b95c92 commit bde0931
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -45,8 +45,8 @@
*
* 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>
*
Expand Down

0 comments on commit bde0931

Please sign in to comment.