Returns a value from the storage by the specified key.
The returning value automatically parses by using Object.parse
from a string to equivalent JS value, i.e.,
'1'
will be parsed to 1
, 'true'
to true
, '2021-07-09T08:15:57.753Z'
to Date
, etc.
Notice, the method can take a list of additional parameters provided to the used storage' engine.
Returns true if a value by the specified key exists in the storage. Notice, the method can take a list of additional parameters provided to the used storage' engine.
Removes a value from the storage by the specified key. Notice, the method can take a list of additional parameters provided to the used storage' engine.
Saves a value to the storage by the specified key.
The value to parse automatically serializes to a string by using Object.trySerialize
, i.e.,
arrays and dictionaries will be serialized to JSON, etc.
Notice, the method can take a list of additional parameters provided to the used storage' engine.
Clears the storage by the specified filter and returns a list of removed keys. Notice, the method can take a list of additional parameters provided to the used storage' engine.