watch method

  1. @override
Stream<List<QueryRow>> watch()
override

Creates an auto-updating stream of the result that emits new items whenever any table used in this statement changes.

Implementation

@override
Stream<List<QueryRow>> watch() {
  return _db.createStream(_constructFetcher()).map(_mapDbResponse);
}