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:

Wolfram Research (2017), PersistentObjects, Wolfram Language function, https://reference.wolfram.com/language/ref/PersistentObjects.html (updated 2019).

Text

Wolfram Research (2017), PersistentObjects, Wolfram Language function, https://reference.wolfram.com/language/ref/PersistentObjects.html (updated 2019).

CMS

Wolfram Language. 2017. "PersistentObjects." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2019. https://reference.wolfram.com/language/ref/PersistentObjects.html.

APA

Wolfram Language. (2017). PersistentObjects. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/PersistentObjects.html

BibTeX

@misc{reference.wolfram_2024_persistentobjects, author="Wolfram Research", title="{PersistentObjects}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/PersistentObjects.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_persistentobjects, organization={Wolfram Research}, title={PersistentObjects}, year={2019}, url={https://reference.wolfram.com/language/ref/PersistentObjects.html}, note=[Accessed: 21-November-2024 ]}