DbSetup-kotlin / com.ninja_squad.dbsetup_kotlin

Package com.ninja_squad.dbsetup_kotlin

Types

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.

Extensions for External Classes

com.ninja_squad.dbsetup.DbSetup
com.ninja_squad.dbsetup.operation.Insert.Builder

Functions

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.