Function: toXlsxBuffer()
function toXlsxBuffer(result: ReportResult, options?: XlsxExportOptions): Promise<Buffer<ArrayBufferLike>>;Defined in: server/insights/export/xlsx.ts:183
Write a report result to an XLSX workbook buffer: one header row from the column labels, one row per result row with typed cells, and the SQL grand-total row when present.
Parameters
| Parameter | Type |
|---|---|
result | ReportResult |
options | XlsxExportOptions |
Returns
Promise<Buffer<ArrayBufferLike>>