watch method

  1. @override
Stream<List<Tile>> watch({
  1. bool distinct = false,
  2. int? limit,
  3. int? offset,
})
inherited

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

Use limit and offset to limit the number of rows returned An offset will only be applied if a limit is also set Set distinct to true to ensure that only distinct rows are returned

Implementation

@override
Stream<List<DT>> watch({bool distinct = false, int? limit, int? offset}) =>
    $state
        .copyWith(distinct: distinct, limit: limit, offset: offset)
        .buildSelectStatement()
        .watch();