ApplyInterceptorConnection extension
Extension to wrap a DatabaseConnection with a QueryInterceptor.
Methods
-
interceptWith(
QueryInterceptor interceptor) → DatabaseConnection -
Returns a DatabaseConnection that will use the same stream queries as
this
, but replaces its executor by wrapping it with theinterceptor
.