Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

NoopQueryExecutor

A QueryExecutor subclass that can be used when you don't have a QueryCompiler, ConnectionProvider or any other needed things to actually execute queries.

class NoopQueryExecutor extends QueryExecutorBase {
get adapter(): DialectAdapter;
 
compileQuery(): CompiledQuery;
provideConnection<T>(): Promise<T>;
withConnectionProvider(): NoopQueryExecutor;
withoutPlugins(): NoopQueryExecutor;
withPlugin(plugin: KyselyPlugin): NoopQueryExecutor;
withPluginAtFront(plugin: KyselyPlugin): NoopQueryExecutor;
withPlugins(plugins: ReadonlyArray<KyselyPlugin>): NoopQueryExecutor;
}

§Extends

§
QueryExecutorBase
[src]

§Properties

§
adapter: DialectAdapter readonly
[src]

Returns the adapter for the current dialect.

§Methods

§
compileQuery(): CompiledQuery
[src]

Compiles the transformed query into SQL. You usually want to pass the output of {@link transformQuery} into this method but you can compile any query using this method.

§
provideConnection<T>(): Promise<T>
[src]

Provides a connection for the callback and takes care of disposing the connection after the callback has been run.

§
withConnectionProvider(): NoopQueryExecutor
[src]

Returns a copy of this executor with a new connection provider.

§
withoutPlugins(): NoopQueryExecutor
[src]

Returns a copy of this executor without any plugins.

§

Returns a copy of this executor with a plugin added as the last plugin.

§
withPluginAtFront(plugin: KyselyPlugin): NoopQueryExecutor
[src]

Returns a copy of this executor with a plugin added as the first plugin.

§
withPlugins(plugins: ReadonlyArray<KyselyPlugin>): NoopQueryExecutor
[src]

Returns a copy of this executor with a list of plugins added as the last plugins.