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