# streamPivotCsv (@salmonui/export/pivot)

> The streamPivotCsv function of @salmonui/export/pivot: 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.

Canonical: https://salmonui.dev/docs/reference/export/pivot/streamPivotCsv

```ts
import { streamPivotCsv } from '@salmonui/export/pivot';
```

Entry index: https://salmonui.dev/docs/reference/export/pivot (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/export/pivot.md).

## Reference

Kind: function

```ts
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.
