createData method

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

Implementation

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

  logger.finest('createData... $mid!');
  SupabaseQueryBuilder fromRef = AbsDatabase.sbDBConn!.from(collectionId);
  await fromRef.upsert(data, onConflict: 'mid', ignoreDuplicates: true);
  logger.finest('$mid! created');
}