Functions

Link copied to clipboard
abstract infix suspend fun <T : Any> createTable(table: Table<T>)
Link copied to clipboard
abstract infix suspend fun <T : Any> createTableIfNotExists(table: Table<T>)
Link copied to clipboard
open infix suspend fun <T : Any> deleteAllFrom(table: Table<T>): Long
Link copied to clipboard
abstract infix fun <T : Any> deleteFrom(table: Table<T>): CoroutinesSqlClientDeleteOrUpdate.FirstDeleteOrUpdate<T>
Link copied to clipboard
abstract infix suspend fun <T : Any> insert(row: T)
abstract suspend fun <T : Any> insert(vararg rows: T)
Link copied to clipboard
abstract infix suspend fun <T : Any> insertAndReturn(row: T): T
abstract fun <T : Any> insertAndReturn(vararg rows: T): Flow<T>
Link copied to clipboard
abstract infix fun <T : Any> select(dsl: SqlClientSubQuery.Scope.() -> SqlClientSubQuery.Return<T>): CoroutinesSqlClientSelect.FirstSelect<T>
abstract infix fun <T : Any, U : Any> select(column: Column<T, U>): CoroutinesSqlClientSelect.FirstSelect<U>
abstract infix fun <T : Any> select(table: Table<T>): CoroutinesSqlClientSelect.FirstSelect<T>
Link copied to clipboard
open infix fun <T : Any> selectAllFrom(table: Table<T>): Flow<T>
Link copied to clipboard
abstract infix fun <T : Any> selectAndBuild(dsl: (ValueProvider) -> T): CoroutinesSqlClientSelect.Fromable<T>
Link copied to clipboard
abstract infix fun <T : Any, U : Any> selectAvg(column: NumericColumn<T, U>): CoroutinesSqlClientSelect.FirstSelect<BigDecimal>
Link copied to clipboard
abstract infix fun <T : Any> selectCaseWhenExists(dsl: SqlClientSubQuery.SingleScope.() -> SqlClientSubQuery.Return<T>): CoroutinesSqlClientSelect.SelectCaseWhenExistsFirst<T>
Link copied to clipboard
abstract fun selectCount(): CoroutinesSqlClientSelect.Fromable<Long>
abstract infix fun <T : Any> selectCount(column: Column<*, T>): CoroutinesSqlClientSelect.FirstSelect<Long>
Link copied to clipboard
open infix suspend fun <T : Any> selectCountAllFrom(table: Table<T>): Long
Link copied to clipboard
open infix fun <T : Any> selectCountFrom(table: Table<T>): CoroutinesSqlClientSelect.FromTable<Long, T>
Link copied to clipboard
abstract infix fun <T : Any, U : Any> selectDistinct(column: Column<T, U>): CoroutinesSqlClientSelect.FirstSelect<U>
Link copied to clipboard
open infix fun <T : Any> selectFrom(table: Table<T>): CoroutinesSqlClientSelect.FromTable<T, T>
Link copied to clipboard
abstract infix fun <T : Any, U : Any> selectMax(column: MinMaxColumn<T, U>): CoroutinesSqlClientSelect.FirstSelect<U>
Link copied to clipboard
abstract infix fun <T : Any, U : Any> selectMin(column: MinMaxColumn<T, U>): CoroutinesSqlClientSelect.FirstSelect<U>
Link copied to clipboard
abstract fun selects(): CoroutinesSqlClientSelect.Selects
Link copied to clipboard
abstract infix fun <T : Any> selectStarFrom(dsl: SqlClientSubQuery.Scope.() -> SqlClientSubQuery.Return<T>): CoroutinesSqlClientSelect.From<T>
Link copied to clipboard
abstract infix fun <T : Any, U : Any> selectSum(column: WholeNumberColumn<T, U>): CoroutinesSqlClientSelect.FirstSelect<Long>
Link copied to clipboard
open fun selectTsRankCd(tsvectorColumn: TsvectorColumn<*>, tsquery: Tsquery): CoroutinesSqlClientSelect.FirstSelect<Float>
Link copied to clipboard
abstract suspend fun <U> transactional(block: suspend (Transaction) -> U): U?
Link copied to clipboard
abstract infix fun <T : Any> update(table: Table<T>): CoroutinesSqlClientDeleteOrUpdate.Update<T>