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

Method getDSL

src/interpreter/javascript/engine.ts:74–80  ·  view source on GitHub ↗
(query: string, dataModel: DataModel)

Source from the content-addressed store, hash-verified

72 }
73
74 async getDSL(query: string, dataModel: DataModel): Promise<TranslationResult> {
75 if (!this.data) {
76 throw new Error('No data loaded. Please call source() first.');
77 }
78
79 return this.dialect.getDSL(query, dataModel);
80 }
81
82 async execute<T = Record<string, unknown>>(code: string, options?: ExecutionOptions): Promise<ExecutionResult<T>> {
83 if (!this.data) {

Callers

nothing calls this directly

Calls 1

getDSLMethod · 0.65

Tested by

no test coverage detected