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

Method profile

src/interpreter/javascript/engine.ts:70–73  ·  view source on GitHub ↗
(schema: Schema, options: ProfileOptions = {})

Source from the content-addressed store, hash-verified

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) {

Callers

nothing calls this directly

Calls 2

profileTablesFunction · 0.90
parseProfileOptionsFunction · 0.90

Tested by

no test coverage detected