Returns the adapter for the current dialect.
Returns all installed plugins.
Compiles the transformed query into SQL. You usually want to pass the output of transformQuery into this method but you can compile any query using this method.
Executes a compiled query and runs the result through all plugins'
transformResult
method.
Provides a connection for the callback and takes care of disposing the connection after the callback has been run.
Executes a compiled query and runs the result through all plugins'
transformResult
method. Results are streamead instead of loaded
at once.
How many rows should be pulled from the database at once. Supported only by the postgres driver.
Given the query the user has built (expressed as an operation node tree)
this method runs it through all plugins' transformQuery
methods and
returns the result.
Returns a copy of this executor with a new connection provider.
Returns a copy of this executor with a plugin added as the last plugin.
Returns a copy of this executor with a plugin added as the first plugin.
Returns a copy of this executor with a list of plugins added as the last plugins.
Returns a copy of this executor without any plugins.
Generated using TypeDoc
This interface abstracts away the details of how to compile a query into SQL and execute it. Instead of passing around all those details, SelectQueryBuilder and other classes that execute queries can just pass around and instance of
QueryExecutor
.