PowerSyncTransaction

Functions

Link copied to clipboard
expect abstract suspend fun executeAsync(sql: String, parameters: List<Any?>? = listOf()): Long
Link copied to clipboard
expect abstract suspend fun <RowType : Any> getAllAsync(sql: String, parameters: List<Any?>? = listOf(), mapper: (SqlCursor) -> RowType): List<RowType>
Link copied to clipboard
expect abstract suspend fun <RowType : Any> getAsync(sql: String, parameters: List<Any?>? = listOf(), mapper: (SqlCursor) -> RowType): RowType
Link copied to clipboard
expect abstract suspend fun <RowType : Any> getOptionalAsync(sql: String, parameters: List<Any?>? = listOf(), mapper: (SqlCursor) -> RowType): RowType?