Initializes a new instance of this object.
The options for the database. The url is the only field used.
Private _contentPrivate Readonly _optionsThe options for the database. The url is the only field used.
Private _readPrivate _urlPrivate _writeGets the value of a specific key in the database.
The key to retrieve.
The value of the given key, null if no such value exists and no fallback was provided.
Gets the value of a specific key in the database.
The key to retrieve.
The fallback value. If the key does not exist in the database, then this will be inserted automatically.
The value of the given key or the inserted fallback value if the key does not exist.
Generated using TypeDoc
Represents a memory database where the data is housed in a single json file.