Deployable doesn't quite fit in the minimalist design philosophy of this library, but I find it incredibly useful to group queries together in chunks that create and delete things that belong together.
Deployable doesn't quite fit in the minimalist design philosophy of this library, but I find it incredibly useful to group queries together in chunks that create and delete things that belong together.
For instance, a deployable can create a schema, and another deployable can create a table in that schema. You can put them together in a Seq and then use .create() and .drop() on that Seq.
Creates an insert statement that returns all the values that were inserted.
Creates an insert statement that returns all the values that were inserted.
The columns that are to be inserted with default values.
Class name for the DataSource class.
Class name for the JDBC driver class.
The result of getMetaData.getDatabaseProductName
If the JDBC driver supports the .isValid() method.
Utilities for use by buildInsert.
Utilities for use by buildInsert.
Perform any connection initialization that should be done when a connection is created.
Perform any connection initialization that should be done when a connection is created. EG add a type mapping.
By default this method does nothing.