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

Method getDSL

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

Source from the content-addressed store, hash-verified

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