tables.introspect.md
January 18, 2023 ยท View on GitHub
Home > @datashaper/tables > introspect
introspect() function
Performs type inference and stats on a table/columns.
Signature:
export declare function introspect(table: ColumnTable, detailed?: boolean,
columns?: string[]): TableMetadata;
Parameters
| Parameter | Type | Description |
|---|---|---|
| table | ColumnTable | |
| detailed | boolean | (Optional) include detailed per-column stats, otherwise just basic types |
| columns | string[] | (Optional) |
Returns: