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

Method schema

src/remote/sqlserver/engine.ts:87–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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.');

Callers

nothing calls this directly

Calls 2

runQueryMethod · 0.95
getSQLServerSchemaFunction · 0.90

Tested by

no test coverage detected