upsert abstract method

Future<int> upsert(
  1. List<Map<String, dynamic>> rows, {
  2. required List<String> uniqueBy,
  3. List<String>? update,
})

Insert or update (UPSERT) - MySQL: INSERT ... ON DUPLICATE KEY UPDATE

Implementation

Future<int> upsert(
  List<Map<String, dynamic>> rows, {
  required List<String> uniqueBy,
  List<String>? update,
});