-
-
Notifications
You must be signed in to change notification settings - Fork 16
.clear
localDataStorage.clear()
This method deletes all the prefixed keys created under the current instance. It will not delete any keys created outside of localDataStorage. This method is useful for cleanup when storage is no longer needed.
The operation cannot be undone.
EXAMPLE:
● localData.clear()
🌐 Multiple events may be fired corresponding to each key deleted, allowing you to monitor all affected keys.
🏿 The corresponding Memory Key method is _clear.
Array Keys:
push / pull, pullall poke contains where
Broadcasting:
broadcast
Data Transfer:
import / export
Duplicates:
countdupes, showdupes, listdupes
Internals:
cancrunch crunch / uncrunch
shufflestring / unshufflestring
Management:
keys
Memory Consumption:
Memory Quota:
showquota
Query:
haskey, hasval, hastype
setscramblekey / getscramblekey
Type Check:
isarray isbigint isboolean iscrunch
isdate isfloat isinteger isnull
Utility:
chopget copy softset rename
_set / _get _clear _key _remove
Management:
_keys
Type Check:
_isarray _isbigint _isboolean _iscrunch