querySnapshot
fun querySnapshot(result: PostgrestResult?, isFromCache: Boolean, fetchedAt: Instant?, hasPendingMutations: Boolean = false, refresh: RefreshState = RefreshState.Idle): QuerySnapshot(source)
One emission of a reactive read, as selectAsFlow hands one out.
Parameters
result
the rows, or null while nothing is known for the query; build one as for appliedOutcome.
isFromCache
whether the rows are the device's copy.
fetchedAt
when they were fetched, or null while nothing is cached.
hasPendingMutations
whether a queued write changed a row shown.
refresh
how the refresh behind the read stands.