Method
getDSL
(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
Tested by
no test coverage detected