Skip to Content

clearCollection()

Removes all records from a collection and cleans up any references to those records in aliases and request hashes.

Kind: global function

ParamTypeDescription
collectionNamestringThe registered collection name to clear.

Example

ARM.clearCollection('addresses') // All address records are removed from local state
Last updated on