()
| 85 | } |
| 86 | |
| 87 | async schema(): Promise<Schema> { |
| 88 | if (!this.pool) throw new Error('No data loaded. Please call source() first.'); |
| 89 | return getSQLServerSchema(async (query) => (await this.runQuery(query)).recordset, this.sourceSchema); |
| 90 | } |
| 91 | |
| 92 | async profile(schema: Schema, options: ProfileOptions = {}): Promise<Profile> { |
| 93 | if (!this.pool) throw new Error('No data loaded. Please call source() first.'); |
nothing calls this directly
no test coverage detected