/opt/canhelp/node_modules/kysely/dist/esm/query-executor
NameSizeModeActions
default-query-executor.d.ts22290644editdlrm
default-query-executor.js15020644editdlrm
noop-query-executor.d.ts18880644editdlrm
noop-query-executor.js11860644editdlrm
query-executor-base.d.ts30010644editdlrm
query-executor-base.js23570644editdlrm
query-executor-provider.d.ts1680644editdlrm
query-executor-provider.js680644editdlrm
query-executor.d.ts30050644editdlrm
query-executor.js590644editdlrm
Edit: /opt/canhelp/node_modules/kysely/dist/esm/query-executor/noop-query-executor.js (1186B)
/// import { QueryExecutorBase } from './query-executor-base.js'; /** * A {@link QueryExecutor} subclass that can be used when you don't * have a {@link QueryCompiler}, {@link ConnectionProvider} or any * other needed things to actually execute queries. */ export class NoopQueryExecutor extends QueryExecutorBase { get adapter() { throw new Error('this query cannot be compiled to SQL'); } compileQuery() { throw new Error('this query cannot be compiled to SQL'); } provideConnection() { throw new Error('this query cannot be executed'); } withConnectionProvider() { throw new Error('this query cannot have a connection provider'); } withPlugin(plugin) { return new NoopQueryExecutor([...this.plugins, plugin]); } withPlugins(plugins) { return new NoopQueryExecutor([...this.plugins, ...plugins]); } withPluginAtFront(plugin) { return new NoopQueryExecutor([plugin, ...this.plugins]); } withoutPlugins() { return new NoopQueryExecutor([]); } } export const NOOP_QUERY_EXECUTOR = new NoopQueryExecutor();