When watch a query, the query is triggered when any changes happened.
Want trigger happens only the specified entity changed.
Just like Drift's feature Stream watchSingle(): Watches the query, asserting that a single row is reported each time the query runs.
Stream<T?> watchSingleOrNull(): Like watchSingle(), but returning empty result sets as null.
When watch a query, the query is triggered when any changes happened.
Want trigger happens only the specified entity changed.
Just like Drift's feature Stream watchSingle(): Watches the query, asserting that a single row is reported each time the query runs.
Stream<T?> watchSingleOrNull(): Like watchSingle(), but returning empty result sets as null.