Kaizen
Browse modulesInsightsinsights/serverFunctions

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

ParameterType
resultReportResult
optionsXlsxExportOptions

Returns

Promise<Buffer<ArrayBufferLike>>

On this page