createPgPoolDatabaseClient
fun createPgPoolDatabaseClient(vertx: Vertx?, vertxSqlClientConnectionConfig: ConnectionConfig, extraPgConnectOptions: PgConnectOptions.() -> Unit = {}, poolOptions: PoolOptions = poolOptionsOf(), exposedDatabase: Database): DatabaseClient<PgPool>(source)
fun createPgPoolDatabaseClient(vertx: Vertx?, vertxSqlClientConnectionConfig: ConnectionConfig, extraPgConnectOptions: PgConnectOptions.() -> Unit = {}, poolOptions: PoolOptions = poolOptionsOf(), exposedSocketConnectionConfig: ConnectionConfig.Socket): DatabaseClient<PgPool>(source)
fun createPgPoolDatabaseClient(vertx: Vertx?, vertxSqlClientConnectionType: ConnectionType, localConnectionConfig: LocalConnectionConfig, extraPgConnectOptions: PgConnectOptions.() -> Unit = {}, poolOptions: PoolOptions = poolOptionsOf(), exposedDatabase: Database? = null): DatabaseClient<PgPool>(source)
It may be more efficient to use a single shared Database to generate SQLs for multiple DatabaseClients/SqlClients.