PersistentObjects

PersistentObjects[]

gives all persistent objects in all locations in $PersistencePath.

PersistentObjects[patt]

gives all persistent objects whose names match the string pattern patt.

PersistentObjects[patt,loc]

gives all matching persistent objects in persistence location loc.

PersistentObjects[patt,{loc1,}]

gives all matching persistent objects in all the loci.

Details

Examples

open allclose all

Basic Examples  (1)

List all objects existing at the front end session location:

Scope  (1)

Create a number of persistent values at different locations:

Find all persistent objects on $PersistencePath whose name starts with "a":

Find all persistent objects at the "KernelSession" location:

Applications  (1)

Delete all persistent objects at the "KernelSession" location:

Introduced in 2017
 (11.1)
 |
Updated in 2019
 (12.0)