vertx-kuickstart-core / dev.fuelyour.vertxkuickstartcore.repositories / InsertQueryImpl

InsertQueryImpl

class InsertQueryImpl<T : Any, R : Any> : InsertQuery<T, R>, Serializer, Deserializer

The default implementation for InsertQuery. It inserts a single row into the table.

Constructors

<init>

The default implementation for InsertQuery. It inserts a single row into the table.

InsertQueryImpl(schema: String, table: String, type: FullType<R>, serializer: Serializer, deserializer: Deserializer)

Functions

insert

suspend fun insert(toInsert: T, connection: SqlClient): R