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

Method schema

src/remote/sqlserver/engine.ts:88–91  ·  view source on GitHub ↗
(signal?: AbortSignal)

Source from the content-addressed store, hash-verified

86 }
87
88 async schema(signal?: AbortSignal): Promise<Schema> {
89 if (!this.pool) throw new Error('No data loaded. Please call source() first.');
90 return getSQLServerSchema(async (query) => (await this.runQuery(query, signal)).recordset, this.sourceSchema);
91 }
92
93 async profile(schema: Schema, options: ProfileOptions = {}, signal?: AbortSignal): Promise<Profile> {
94 if (!this.pool) throw new Error('No data loaded. Please call source() first.');

Callers

nothing calls this directly

Calls 2

runQueryMethod · 0.95
getSQLServerSchemaFunction · 0.90

Tested by

no test coverage detected