WOLFRAM

gives all persistent objects in all locations in $PersistencePath.

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)Summary of the most common use cases

List all objects existing at the front end session location:

Out[1]=1

Scope  (1)Survey of the scope of standard use cases

Create a number of persistent values at different locations:

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

Out[2]=2

Find all persistent objects at the "KernelSession" location:

Out[3]=3

Applications  (1)Sample problems that can be solved with this function

Delete all persistent objects at the "KernelSession" location:

Out[1]=1
Wolfram Research (2017), PersistentObjects, Wolfram Language function, https://reference.wolfram.com/language/ref/PersistentObjects.html (updated 2019).
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).

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.

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

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

BibTeX

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

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

BibLaTeX

@online{reference.wolfram_2025_persistentobjects, organization={Wolfram Research}, title={PersistentObjects}, year={2019}, url={https://reference.wolfram.com/language/ref/PersistentObjects.html}, note=[Accessed: 24-May-2025 ]}

@online{reference.wolfram_2025_persistentobjects, organization={Wolfram Research}, title={PersistentObjects}, year={2019}, url={https://reference.wolfram.com/language/ref/PersistentObjects.html}, note=[Accessed: 24-May-2025 ]}