diff --git a/src/docs/asciidoc/data-access.adoc b/src/docs/asciidoc/data-access.adoc index 0164dc67bd..ed552dc63d 100644 --- a/src/docs/asciidoc/data-access.adoc +++ b/src/docs/asciidoc/data-access.adoc @@ -6805,7 +6805,7 @@ The following example extracts the `id` column and emits its value: .Kotlin ---- val names = client.sql("SELECT name FROM person") - .map{ it.get("id", String.class) } + .map{ row: Row -> row.get("id", String.class) } .flow() ----