DbSetupBuilder |
class DbSetupBuilder A builder allowing to configure a DbSetup from a lambda expression whose receiver type is this builder. The intended usage is to use the dbSetup top level function. |
com.ninja_squad.dbsetup.DbSetup | |
com.ninja_squad.dbsetup.operation.Insert.Builder |
dbSetup |
fun dbSetup(to: Destination, binderConfiguration: BinderConfiguration = DefaultBinderConfiguration.INSTANCE, configure: DbSetupBuilder.() -> Unit): DbSetup Top-level function allowing to create a DbSetup by passing a destination and a lambda expression used to configure the operations that must be made. fun dbSetup(to: DataSource, binderConfiguration: BinderConfiguration = DefaultBinderConfiguration.INSTANCE, configure: DbSetupBuilder.() -> Unit): DbSetup Top-level function allowing to create a DbSetup by passing a DataSource and a lambda expression used to configure the operations that must be made. |
insertInto |
fun insertInto(table: String, configure: Builder.() -> Unit): Insert Top-level function allowing to create an Insert operation by passing a lambda expression configuring it. |