watch<P, R extends Record> abstract method
Reactively watches a query for changes. NOTE: This is only supported on the main database connection, not in transactions.
Implementation
Stream<SafeResultSet<R>> watch<P, R extends Record>(
Query<P, R> query, {
P? params,
Duration throttle = const Duration(milliseconds: 30),
Iterable<String>? triggerOnTables,
});