upsert method

Future<int?> upsert({
  1. bool ignoreBatch = true,
})

Updates if the record exists, otherwise adds a new row

Implementation

Future<int?> upsert({bool ignoreBatch = true}) {
  final msg = 'upsert method can be implemented in tables not view objects';
  throw UnimplementedError(msg);
}