Private
dataPrivate
filePrivate
loggerFilters the data in the database based on a predicate function.
A function that takes a value and a key and returns a boolean indicating whether the value should be included in the result.
An array of values that satisfy the predicate.
Private
saveGenerated using TypeDoc
The UtiliaDB class represents a simple key-value database. It provides methods for inserting, finding, updating, deleting, and filtering data. The data is stored in a JSON file specified by the filePath parameter. The logger parameter is used for logging database operations.