Version: 1
restore

Contents

Method

Delete

ModuleStorage
LibraryCore
Action


Indicate whether a persistent storage table of the specified name is present and return its contents if present.

Parameters

Name (string): The name of the persistent storage table.

Return values

Name(string): The name of the persistent storage table if it exists, else nothing.

Example
@found = Storage.Check(Name: "2018.Sept.AdobeUsers");
IF NOT (@found)
    SELECT "Table not found" AS Status;
ELSE
    @table = Storage.Get(Name: "2018.Sept.AdobeUsers");
    IF NOT (@table)
        SELECT "Table is empty" AS Status;
    ELSE
        SELECT "Table retrieved and has content" AS Status;
    ENDIF;
ENDIF;
Platforms
  • Windows
  • Linux
  • MacOS
  • Solaris Intel
  • Solaris Sparc
  • Android
Notes

This method can be used with the agent language's  evaluate  statement to abandon processing if the persistent storage table is not present.

See Tags page for guidance using persistent storage tables.

The following methods existing in the Agent Storage module:

  • Page:
    Tagging.Check — Tests the existence of a named tag of a specified type, optionally with the specified value.
  • Page:
    Tagging.Clear — Delete all tags of the specified type.
  • Page:
    Tagging.Count — Get the quantity of tags of the specified type.
  • Page:
    Tagging.Delete — Delete the named tag of the specified type, and indicate if it originally existed.
  • Page:
    Tagging.Get — Indicate whether a named tag of the specified type is present and return its value if present.
  • Page:
    Tagging.GetAll — Fetch the tag list (containing all tags) of the specified type.
  • Page:
    Tagging.Set — Set (or change if already set) the named tag of the specified type to the specified value.