runUpdate method Null safety

  1. @override
Future<int> runUpdate(
  1. String statement,
  2. List<Object?> args
)
inherited

Runs an update statement with the given variables and returns how many rows where affected.

Implementation

@override
Future<int> runUpdate(String statement, List<Object?> args) {
  return _synchronized(() {
    assert(_debugCheckIsOpen());
    _log(statement, args);
    return impl.runUpdate(statement, args);
  });
}