Hello
I've been playing around with the vert.x reactive mysql and Postgres clients. I have managed to get most of the functionality working, but I had a couple of questions.
I have a use-case where I would like to perform the following operations after obtaining a connection from the pool:
1) Set a session variable for the connection
2) Execute my query (either a simple or a prepared query) on the connection.
Currently, the way I'm doing it is by sending 2 queries (i.e. set the session variable, and in the response handler, second the second query).
Is there a way to execute both these statements as part of a single "query" call? I remember reading that the vertx-sql-client has a batch API, does it exist for the reactive mysql/pgsql clients?
Alternatively, is there a way I can specify the session variable option for all connections in a pool i.e. via PgConnect/MySqlConnectOptions?
Thirdly, I see that there is a pipeline limit option for PgSql. Does Mysql not support pipelining/batching?
Thanks a lot for your support