insertOnConflictUpdate method

Future<int> insertOnConflictUpdate(
  1. Insertable<Row> row
)

Inserts one row into the captured table, replacing an existing row if it exists already.

Please note that this method is only available on recent sqlite3 versions. See also InsertStatement.insertOnConflictUpdate.

Implementation

Future<int> insertOnConflictUpdate(Insertable<Row> row) {
  return insert().insertOnConflictUpdate(row);
}