Queries
Functions
Link copied to clipboard
Link copied to clipboard
Opens a read-only transaction.
Link copied to clipboard
abstract fun <RowType : Any> watch(sql: String, parameters: List<Any?>? = listOf(), throttleMs: Long = DEFAULT_THROTTLE.inWholeMilliseconds, mapper: (SqlCursor) -> RowType): Flow<List<RowType>>
Executes a read-only (SELECT) query every time the source tables are modified and returns the results as a Flow of lists.
Link copied to clipboard
Opens a read-write transaction.