Skip to content

Commit efb97cc

Browse files
committed
Merge pull request #31932 from janjouketjalsma
* pr/31932: Fix Kotlin example for simpler SELECT variant using IN Closes gh-31932
2 parents 6eed2b0 + b692c0e commit efb97cc

File tree

1 file changed

+1
-5
lines changed
  • framework-docs/modules/ROOT/pages/data-access

1 file changed

+1
-5
lines changed

framework-docs/modules/ROOT/pages/data-access/r2dbc.adoc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -440,12 +440,8 @@ Kotlin::
440440
+
441441
[source,kotlin,indent=0,subs="verbatim,quotes",role="secondary"]
442442
----
443-
val tuples: MutableList<Array<Any>> = ArrayList()
444-
tuples.add(arrayOf("John", 35))
445-
tuples.add(arrayOf("Ann", 50))
446-
447443
client.sql("SELECT id, name, state FROM table WHERE age IN (:ages)")
448-
.bind("tuples", arrayOf(35, 50))
444+
.bind("ages", arrayOf(35, 50))
449445
----
450446
======
451447

0 commit comments

Comments
 (0)