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

Method profile

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

profileTablesFunction · 0.90
parseProfileOptionsFunction · 0.90

Tested by

no test coverage detected