Function: deleteAllHistory()
deleteAllHistory(
db
:Database
):void
Defined in: electron/services/database/utils/historyManipulation.ts:183
Internal
Clear all history from the database.
Parameters
db
Database connection instance
Returns
void
Remarks
WARNING: This operation is destructive and irreversible.
Transaction Context: Designed to be called from repository methods that manage transaction context. Always used within HistoryRepository.deleteAllInternal().
Throws
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error When database deletion fails