Persistence Broker
  • 02 Feb 2023
  • Dark
    Light
  • PDF

Persistence Broker

  • Dark
    Light
  • PDF

Article summary

Deprecated Persistence Broker Methods

The Persistence Broker has been completely deprecated. Modify any calls to the Persistence Broker to use direct adapter calls. The following methods have been removed:

Method Description Deprecation Release Scheduled Removal Release Replacement
stash Stashes data in the shared cache. 2021.2 2023.1 None
fetch Fetches data from the shared cache. 2021.2 2023.1 None
fetchAll Fetches all grouped data objects from the shared cache. 2021.2 2023.1 None
purge Removes a particular object from the cache. 2021.2 2023.1 None
purgeAll Removes all keys from a group. 2021.2 2023.1 None
create Creates a new document in the permanent data store. 2021.2 2023.1 None
createMany Creates many new documents in the permanent data store. 2021.2 2023.1 None
search Searches for a new document in the permanent data store. 2021.2 2023.1 None
distinct Finds distinct keys in the permanent data store. 2021.2 2023.1 None
exists Finds whether a key exists in the permanent data store. 2021.2 2023.1 None
count Gets a count of items in the permanent data store. 2021.2 2023.1 None
aggregate Makes an aggregate query on the permanent data store. 2021.2 2023.1 None
filterFields Makes a filterFields query on the permanent data store. 2021.2 2023.1 None
query Makes a query on the permanent data store. 2021.2 2023.1 None
searchById Searches for a document in the permanent data store. 2021.2 2023.1 None
save Saves a document in the permanent data store. 2021.2 2023.1 None
updateSearched Updates documents based on search criteria. 2021.2 2023.1 None
findAndModify Locates and updates documents, then returns updated document. 2021.2 2023.1 None
deleteById Removes a unique document fromm the permanent data store. 2021.2 2023.1 None
deleteSearched Removes a set of documents from the permanent data store via filter. 2021.2 2023.1 None

Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.