inline fun insertInto(table: String, configure: Builder.() -> Unit): Unit
Adds an Insert operation to the DbSetup, using a lambda expression to configure it.
Example usage:
dbSetup {
insertInto("user") {
columns("id", "name")
values(1, "John Doe")
...
}
}
table
- the name of the table to insert intoconfigure
- the function used to configure the insert.