(schema: Schema, options: ProfileOptions = {})
| 68 | } |
| 69 | |
| 70 | async profile(schema: Schema, options: ProfileOptions = {}): Promise<Profile> { |
| 71 | if (!this.data) throw new Error('No data loaded. Please call source() first.'); |
| 72 | return profileTables(this.data, schema, parseProfileOptions(options, { metrics: DEFAULT_METRICS })); |
| 73 | } |
| 74 | |
| 75 | async getDSL(query: string, dataModel: DataModel, signal?: AbortSignal): Promise<TranslationResult> { |
| 76 | if (!this.data) { |
nothing calls this directly
no test coverage detected