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

Method getDSL

src/interpreter/python/engine.ts:81–85  ·  view source on GitHub ↗
(query: string, dataModel: DataModel, signal?: AbortSignal)

Source from the content-addressed store, hash-verified

79 }
80
81 async getDSL(query: string, dataModel: DataModel, signal?: AbortSignal): Promise<TranslationResult> {
82 if (!this.source) throw new Error('No data loaded. Please call source() first.');
83
84 return signal ? this.dialect.getDSL(query, dataModel, signal) : this.dialect.getDSL(query, dataModel);
85 }
86
87 async profile(schema: Schema, options: ProfileOptions = {}, signal?: AbortSignal): Promise<Profile> {
88 if (!this.source) 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