rawUpdate method

Future<int> rawUpdate(
  1. String sqlStmt, [
  2. List<Object?>? arguments
])

Executes a raw SQL UPDATE query and returns the number of changes made.

int count = await database.rawUpdate(
  'UPDATE Test SET name = ?, value = ? WHERE name = ?',
  ['updated name', '9876', 'some name']);

Implementation

Future<int> rawUpdate(String sqlStmt, [List<Object?>? arguments]) {
  throw UnimplementedError();
}