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

Method getData

src/interpreter/javascript/engine.ts:65–67  ·  view source on GitHub ↗

* Return the loaded in-memory rows (null when nothing is loaded). * Only the JavaScript interpreter engine keeps data as a plain single-table array, * so it is the only engine that can expose it directly.

()

Source from the content-addressed store, hash-verified

63 * so it is the only engine that can expose it directly.
64 */
65 getData(): any[] | null {
66 return this.data;
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.');

Callers 2

readSheetNamesFunction · 0.80
engine.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected