db9010 / com.jovial.db9010 / InsertStatement / BuilderNoResults

BuilderNoResults

class BuilderNoResults

A builder for an insert statement where the client code is not interested in the ResultSet generated by the PreparedStatement. See Database.insertInto.

Constructors

<init>

A builder for an insert statement where the client code is not interested in the ResultSet generated by the PreparedStatement. See Database.insertInto.

BuilderNoResults(db: Database, table: Table)

Functions

run

Execute setBody to set any needed Parameter values, then execute the insert statment. Returns the value returned by setBody.

infix fun <T> run(setBody: (InsertStatement) -> T): T