PowerSyncTransaction

Functions

Link copied to clipboard
abstract fun execute(sql: String, parameters: List<Any?>? = listOf()): Long
Link copied to clipboard
abstract fun <RowType : Any> get(sql: String, parameters: List<Any?>? = listOf(), mapper: (SqlCursor) -> RowType): RowType
Link copied to clipboard
abstract fun <RowType : Any> getAll(sql: String, parameters: List<Any?>? = listOf(), mapper: (SqlCursor) -> RowType): List<RowType>
Link copied to clipboard
abstract fun <RowType : Any> getOptional(sql: String, parameters: List<Any?>? = listOf(), mapper: (SqlCursor) -> RowType): RowType?