Function: rowsToHistoryEntries()
rowsToHistoryEntries(
rows
:HistoryRow
[]):StatusHistory
[]
Defined in: electron/services/database/utils/historyMapper.ts:223
Converts an array of raw database rows to an array of StatusHistory objects.
Parameters
rows
Array of raw database rows.
Returns
Array of mapped StatusHistory objects.
Remarks
Each row is mapped using rowToHistoryEntry.
Example
const history = rowsToHistoryEntries(dbRows);