Muezz
04/20/2022, 7:57 PMdart
Stream<List<TransactionModel>> queryTransactions() {
final res = _transactionsDB
.stream(['id'])
.order('t_date')
.execute()
.map((event) => event.map((e) => TransactionModel.fromMap(e)).toList());
return res;
}
Is this the right way to work with streams in Supabase DB? because the data loads for the first time but if I make any changes manually in the dashboard of supabase, those changes DO NOT reflect in the app automatically as they should (at least that is how it worked in firestore).