Skip to main content

1E 8.1 (on-premises)

Storage.List

Method

List

Module

Storage

Library

Core

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 with no case-sensitivity.