Configuration for the database
Private
Readonly
configPrivate
dataPrivate
loadedFind all specific entry in an array/object
base dataPath from where to start searching
method to filter the result and find the wanted entry. Receive the entry and it's index.
Find a specific entry in an array/object
base dataPath from where to start searching
method to filter the result and find the wanted entry. Receive the entry and it's index.
Private
getReturns the index of the object that meets the criteria submitted. Returns -1, if no match is found.
base dataPath from where to start searching
value to look for in the dataPath
name of the property to look for searchValue
Same as getData but with your own object type and a possible default value when we can't find the data path
path of the data to retrieve
Optional
defaultValue: Tvalue to use when the dataPath doesn't lead to data
Private
getPrivate
processPrivate
retrieveGenerated using TypeDoc
JSONDB Constructor