Posts: 18
Threads: 7
Joined: Feb 2020
Reputation:
0
Hi,
would be possible to access to the list of item's keys stored in LM storage ?
In order to find the right one I am looking for
(Documentation show only storage.get & storage.set command)
Best regards
Posts: 7748
Threads: 42
Joined: Jun 2015
Reputation:
446
Have you tried storage viewer app from the store?
Posts: 7748
Threads: 42
Joined: Jun 2015
Reputation:
446
You can use either:
storage.all() - returns a table will all storage values in key = value format
storage.keys() - returns a table (array-like) with all storage keys, this will also include other storage server keys like mosaic which uses different format so it cannot be read directly by using storage functions
Posts: 18
Threads: 7
Joined: Feb 2020
Reputation:
0
perfect thank you !!
[TOPIC CLOSED]
Posts: 18
Threads: 7
Joined: Feb 2020
Reputation:
0
Hi,
a last question, do you have a command to clean / remove all items at once ?
(like storage.removeAllKeys())
best regards
Posts: 18
Threads: 7
Joined: Feb 2020
Reputation:
0
Thank you !!
those command are not visible in the helper tab of the script editor,
is these a place where to get / find all the available command in an exhaustive manner ?