Contents

Method

Delete

ModuleStorage
LibraryCore
Action

Enumerates all user-defined persistent storage tables.

Parameters

(None)

Return values

Name (string): The name of each table.

Example
// Remove all user-defined storage values with the given temporary prefix
@names = Storage.List();
@names = SELECT * FROM @names WHERE Name LIKE "MyTempData.%";

@deleted = FOREACH @name IN @names
DO
  Storage.Delete(Name: @name);
DONE;

SELECT "Deleted entry " || Name AS Result FROM @deleted;
Platforms
  • Windows
  • Linux
  • MacOS
Notes

The names returned by this method may not match the case of their original names because user-defined persistent storage table names are handled case-insensitively.

See User Defined Persistent Storage page for guidance using persistent storage tables.

The following methods existing in the Agent Storage module:

  • Page:
    Storage.Check — Tests the existence of a user defined persistent storage table.
  • Page:
    Storage.Delete — Removes an existing user defined persistent storage table.
  • Page:
    Storage.Get — Indicate whether a persistent storage table of the specified name is present and return its contents if present.
  • Page:
    Storage.GetRemote — Retrieve the requested datum directly from the Platform central repository.
  • Page:
    Storage.List — Enumerates all user-defined persistent storage tables.
  • Page:
    Storage.Set — Set or change the value of the named persistent storage table.