-
-
Notifications
You must be signed in to change notification settings - Fork 16
._copy
localDataStorage._copy( sourceKeyName, destinationKeyName )
This Memory Key method creates a new key, destinationKeyName, from the value stored under sourceKeyName, respecting the data type.
Existing keys cannot be overwritten.
EXAMPLES:
● localData._set( 'key1', 14.99 )
● localData._copy( 'key1', 'key99' )
● localData._get( 'key99' ) --> 14.99
🛢 The corresponding disk-based method is copy.
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