externalExecutor method

QueryExecutor externalExecutor(
  1. QueryDelegate delegate
)

Returns a QueryExecutor delegating calls to another QueryDelegate.

This is intended for scenarios where an opened external database connection is shared with drift. In those cases, this allows starting transactions outside of drift but then running drift statements against those external transactions.

Implementation

QueryExecutor externalExecutor(QueryDelegate delegate) {
  return _IndependentExecutor(impl: delegate, db: this);
}