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

Method getDSL

src/remote/sqlserver/engine.ts:103–106  ·  view source on GitHub ↗
(query: string, dataModel: DataModel, signal?: AbortSignal)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

getDSLMethod · 0.65

Tested by

no test coverage detected