DatabaseWatch typedef

DatabaseWatch = Stream<List<Map<String, Object?>>> Function(String sql)

A live query: emits the result rows now and again on every relevant change — sqlite_async's watch is the reference implementation.

Implementation

typedef DatabaseWatch = Stream<List<Map<String, Object?>>> Function(String sql);