MCPcopy Create free account
hub / github.com/antvis/AVA / getDSL

Method getDSL

src/remote/sqlserver/engine.ts:101–104  ·  view source on GitHub ↗
(query: string, dataModel: DataModel)

Source from the content-addressed store, hash-verified

99 }
100
101 async getDSL(query: string, dataModel: DataModel): Promise<TranslationResult> {
102 if (!this.pool) throw new Error('No data loaded. Please call source() first.');
103 return this.dialect.getDSL(query, dataModel);
104 }
105
106 async execute<T = Record<string, unknown>>(dsl: string, options?: ExecutionOptions): Promise<ExecutionResult<T>> {
107 if (!this.pool) throw new Error('No data loaded. Please call source() first.');

Callers

nothing calls this directly

Calls 1

getDSLMethod · 0.65

Tested by

no test coverage detected