updateData method

  1. @override
Future<void> updateData(
  1. String collectionId,
  2. String mid,
  3. Map data
)
override

Implementation

@override
Future<void> updateData(String collectionId, String mid, Map<dynamic, dynamic> data) async {
  await initialize();

  SupabaseQueryBuilder fromRef = AbsDatabase.sbDBConn!.from(collectionId);
  await fromRef.update(data).eq('mid', mid);
  logger.finest('$mid saved');
}