View as Markdown

API reference: @salmonui/export/pivot

streamPivotCsvfunction

import { streamPivotCsv } from '@salmonui/export/pivot';
function streamPivotCsv(source: PivotExportSource, options?: PivotCsvStreamOptions): AsyncGenerator<string, void, undefined>;

Streams a pivot as CSV chunks (large results). A result streams through streamCsv; a window source is paged one row window at a time and never held whole.