Transaction
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun Queryable.openCursor(query: Key? = null, direction: Cursor.Direction = Cursor.Direction.Next, cursorStart: CursorStart? = null): Flow<CursorWithValue>
suspend fun Queryable.openCursor(query: Key? = null, direction: Cursor.Direction = Cursor.Direction.Next, cursorStart: CursorStart? = null, autoContinue: Boolean): Flow<CursorWithValue>
When autoContinue is true
, all values matching the query will emit automatically. It is important not to suspend in flow collection on anything other than flow operators (such as .toList
).
Link copied to clipboard
suspend fun Queryable.openKeyCursor(query: Key? = null, direction: Cursor.Direction = Cursor.Direction.Next, cursorStart: CursorStart? = null): Flow<Cursor>
suspend fun Queryable.openKeyCursor(query: Key? = null, direction: Cursor.Direction = Cursor.Direction.Next, cursorStart: CursorStart? = null, autoContinue: Boolean): Flow<Cursor>
When autoContinue is true
, all values matching the query will emit automatically. It is important not to suspend in flow collection on anything other than flow operators (such as .toList
).