//runtime/com.squareup.sqldelight
Package com.squareup.sqldelight
Types
| Name | Summary |
|---|---|
| ColumnAdapter | [common] Content interface ColumnAdapter<T : Any, S> More info Marshal and map the type T to and from a database type S which is one of Long, Double, String, byte[]. |
| EnumColumnAdapter | [common] Content class EnumColumnAdapter<T : Enum<T>> : ColumnAdapter<T, String> More info A ColumnAdapter which maps the enum class T to a string in the database. |
| Query | [common] Content abstract class Query More info A listenable, typed query generated by SQLDelight. |
| Transacter | [common] Content interface Transacter More info A transaction-aware SqlDriver wrapper which can begin a Transaction on the current connection. |
| TransacterImpl | [common] Content abstract class TransacterImpl(driver: SqlDriver) : Transacter More info A transaction-aware SqlDriver wrapper which can begin a Transaction on the current connection. |
| TransactionCallbacks | [common] Content interface TransactionCallbacks |
| TransactionWithoutReturn | [common] Content interface TransactionWithoutReturn : TransactionCallbacks |
| TransactionWithReturn | [common] Content interface TransactionWithReturn<R> : TransactionCallbacks |
Functions
| Name | Summary |
|---|---|
| EnumColumnAdapter | [common] Content inline fun <T : Enum<T>> EnumColumnAdapter(): EnumColumnAdapter<T> More info A ColumnAdapter which maps the enum class T to a string in the database. |
| Query | [common] Content fun <RowType : Any> Query(identifier: Int, queries: MutableList<Query<>>, driver: SqlDriver, query: String, mapper: (SqlCursor) -> RowType): Query<RowType> fun <RowType : Any> Query(identifier: Int, queries: MutableList<Query<>>, driver: SqlDriver, fileName: String, label: String, query: String, mapper: (SqlCursor) -> RowType): Query<RowType> More info A listenable, typed query generated by SQLDelight. |