Package-level declarations
Types
A wrapper client around Vert.x SqlClient for queries and an Exposed Database to generate SQLs working around the limitations of Exposed.
This API is not used in the factory function parameter types yet. TODO
A kind of connection config that can produce both a ConnectionConfig.Socket and a ConnectionConfig.UnixDomainSocketWithPeerAuthentication to connect to a local database server.
Functions
It may be more efficient to use a single shared Database to generate SQLs for multiple DatabaseClients/SqlClients.
An Exposed transaction is required if the FieldSet contains custom functions that depend on dialects.
This method has to be called within an ExposedTransaction.
"single or no" means differently here from Iterable.singleOrNull.
Currently only available for PostgreSQL. A savepoint destroys one with the same name so be careful.
When using this function, it's recommended to name the lambda parameter the same as the outer receiver so that the outer DatabaseClient is shadowed, and so that you don't call the outer DatabaseClient without a transaction by accident.