executeRaw method

  1. @override
Future<int> executeRaw(
  1. SqlQuery query
)
override

Execute a command within the transaction (returns affected rows)

Implementation

@override
Future<int> executeRaw(SqlQuery query) async {
  _checkActive();

  // Queue the execute operation - it will be executed on commit
  final completer = Completer<int>();
  _pendingOperations.add(_QueuedExecute(query, completer));
  return completer.future;
}