Package-level declarations

Types

Link copied to clipboard
abstract class BaseTransacterImpl(driver: SqlDriver)
Link copied to clipboard
interface ColumnAdapter<T : Any, S>

Marshal and map the type T to and from a database type S which is one of Long, Double, String, byte[].

Link copied to clipboard

A ColumnAdapter which maps the enum class T to a string in the database.

Link copied to clipboard
abstract class ExecutableQuery<out RowType : Any>(val mapper: (SqlCursor) -> RowType)
Link copied to clipboard
abstract class Query<out RowType : Any>(mapper: (SqlCursor) -> RowType) : ExecutableQuery<RowType>

A listenable, typed query generated by SQLDelight.

Link copied to clipboard

A transaction-aware SqlDriver wrapper which can begin a Transaction on the current connection.

Link copied to clipboard

A transaction-aware SqlDriver wrapper which can begin a Transaction on the current connection.

Link copied to clipboard
sealed interface TransacterBase
Link copied to clipboard

A transaction-aware SqlDriver wrapper which can begin a Transaction on the current connection.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

A ColumnAdapter which maps the enum class T to a string in the database.

Link copied to clipboard
fun <RowType : Any> Query(identifier: Int, driver: SqlDriver, query: String, mapper: (SqlCursor) -> RowType): ExecutableQuery<RowType>
fun <RowType : Any> Query(    identifier: Int,     queryKeys: Array<out String>,     driver: SqlDriver,     query: String,     mapper: (SqlCursor) -> RowType): Query<RowType>
fun <RowType : Any> Query(    identifier: Int,     driver: SqlDriver,     fileName: String,     label: String,     query: String,     mapper: (SqlCursor) -> RowType): ExecutableQuery<RowType>
fun <RowType : Any> Query(    identifier: Int,     queryKeys: Array<out String>,     driver: SqlDriver,     fileName: String,     label: String,     query: String,     mapper: (SqlCursor) -> RowType): Query<RowType>

A listenable, typed query generated by SQLDelight.