runInsert method

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

Runs an insert statement with the given variables. Returns the row id or the auto_increment id of the inserted row.

Implementation

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