JdbcSqlClient

interface JdbcSqlClient : SqlClient, TransactionalOp<JdbcTransaction>

Functions

Link copied to clipboard
abstract infix fun <T : Any> createTable(table: Table<T>)
Link copied to clipboard
abstract infix fun <T : Any> createTableIfNotExists(table: Table<T>)
Link copied to clipboard
open infix fun <T : Any> deleteAllFrom(table: Table<T>): Int
Link copied to clipboard
abstract infix fun <T : Any> deleteFrom(table: Table<T>): SqlClientDeleteOrUpdate.FirstDeleteOrUpdate<T>
Link copied to clipboard
abstract infix fun <T : Any> insert(row: T)
abstract fun <T : Any> insert(vararg rows: T)
Link copied to clipboard
abstract infix fun <T : Any> insertAndReturn(row: T): T
abstract fun <T : Any> insertAndReturn(vararg rows: T): List<T>
Link copied to clipboard
abstract infix fun <T : Any> select(dsl: (ValueProvider) -> T): SqlClientSelect.Fromable<T>
abstract infix fun <T : Any, U : Any> select(column: Column<T, U>): SqlClientSelect.FirstSelect<U>
abstract infix fun <T : Any> select(table: Table<T>): SqlClientSelect.FirstSelect<T>
Link copied to clipboard
open infix fun <T : Any> selectAllFrom(table: Table<T>): List<T>
Link copied to clipboard
abstract infix fun <T : Any, U : Any> selectAvg(column: NumericColumn<T, U>): SqlClientSelect.FirstSelect<BigDecimal>
Link copied to clipboard
abstract fun selectCount(): SqlClientSelect.Fromable<Long>
abstract infix fun <T : Any> selectCount(column: Column<*, T>): SqlClientSelect.FirstSelect<Long>
Link copied to clipboard
open infix fun <T : Any> selectCountAllFrom(table: Table<T>): Long
Link copied to clipboard
open infix fun <T : Any> selectCountFrom(table: Table<T>): SqlClientSelect.From<Long, T>
Link copied to clipboard
abstract infix fun <T : Any, U : Any> selectDistinct(column: Column<T, U>): SqlClientSelect.FirstSelect<U>
Link copied to clipboard
open infix fun <T : Any> selectFrom(table: Table<T>): SqlClientSelect.From<T, T>
Link copied to clipboard
abstract infix fun <T : Any, U : Any> selectMax(column: MinMaxColumn<T, U>): SqlClientSelect.FirstSelect<U>
Link copied to clipboard
abstract infix fun <T : Any, U : Any> selectMin(column: MinMaxColumn<T, U>): SqlClientSelect.FirstSelect<U>
Link copied to clipboard
abstract infix fun <T : Any> selectSum(column: IntColumn<T>): SqlClientSelect.FirstSelect<Long>
Link copied to clipboard
abstract fun <U> transactional(block: (JdbcTransaction) -> U): U?
Link copied to clipboard
abstract infix fun <T : Any> update(table: Table<T>): SqlClientDeleteOrUpdate.Update<T>