beforeExecuting method

void Function() beforeExecuting(
  1. ExecutingStatementCallback callback
)

Registers a callback invoked before any SQL is dispatched.

Returns a function that can be called to unregister the callback.

Implementation

void Function() beforeExecuting(ExecutingStatementCallback callback) {
  _ensureInitialized();
  return _connection!.beforeExecuting(callback);
}