Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
quaff committed Nov 19, 2021
1 parent 2be80b8 commit 40f0c20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/docs/asciidoc/data-access.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6794,14 +6794,14 @@ The following example extracts the `id` column and emits its value:
.Java
----
Flux<String> names = client.sql("SELECT name FROM person")
.map(row -> row.get("id", String.class))
.map(row -> row.get("name", String.class))
.all();
----
[source,kotlin,indent=0,subs="verbatim,quotes",role="secondary"]
.Kotlin
----
val names = client.sql("SELECT name FROM person")
.map{ row: Row -> row.get("id", String.class) }
.map{ row: Row -> row.get("name", String.class) }
.flow()
----

Expand Down

0 comments on commit 40f0c20

Please sign in to comment.