diff --git a/docs/src/main/asciidoc/reactive-sql-clients.adoc b/docs/src/main/asciidoc/reactive-sql-clients.adoc index d84638d398982..b47f753935573 100644 --- a/docs/src/main/asciidoc/reactive-sql-clients.adoc +++ b/docs/src/main/asciidoc/reactive-sql-clients.adoc @@ -290,7 +290,8 @@ The Reactive PostgreSQL Client can also prepare queries and take parameters that client.preparedQuery("SELECT id, name FROM fruits WHERE id = $1").execute(Tuple.of(id)) ---- -TIP: The SQL string can refer to parameters by position, using $1, $2, ...etc. +TIP: For PostgreSQL, the SQL string can refer to parameters by position, using `$1`, `$2`, ...etc. +Please refer to the <> section for other databases. Similar to the simple `query` method, `preparedQuery` returns an instance of `PreparedQuery>`. Equipped with this tooling, we are able to safely use an `id` provided by the user to get the details of a particular fruit: @@ -467,21 +468,24 @@ Navigate to http://localhost:8080/fruits.html and read/create/delete some fruits == Database Clients details -[cols="15,35,50"] +[cols="10,40,40,10"] |=== -|Database |Extension name |Pool class name +|Database |Extension name |Pool class name |Placeholders |DB2 |`quarkus-reactive-db2-client` |`io.vertx.mutiny.db2client.DB2Pool` +|`?` |MariaDB/MySQL |`quarkus-reactive-mysql-client` |`io.vertx.mutiny.mysqlclient.MySQLPool` +|`?` |PostgreSQL |`quarkus-reactive-pg-client` |`io.vertx.mutiny.pgclient.PgPool` +|`$1`, `$2`, etc. |=== == Transactions