-
-
Notifications
You must be signed in to change notification settings - Fork 16
.verbosity
localDataStorage.verbosity( [mode] )
This setting does not directly affect data storage or retrieval but determines how garrulously the library behaves, where responses are either terse (default) or chatty. When the optional mode is omitted, the verbosity setting is returned. When specified, it must be a value that refers to Boolean true or false to indicate the desired mode of operation.
This setting can have a drastic effect on output. It is not recommended for production environments.
EXAMPLES:
Check the current setting:
● localData.verbosity() --> Verbosity is off
When checking the amount of storage used, normal output is terse:
● localData.showquotaused() --> 514 bytes
Now we shall set the verbosity mode for extended output:
● localData.verbosity( 1 ) --> Verbosity is on
This method now displays much more data in an informative tone:
● localData.showquotaused() --> Total storage used is 514 bytes (consuming 1.03 KB of memory)
Verbosity is deactivated:
● localData.verbosity( false ) --> Verbosity is off
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