ORMEvictCollection
Evict all entity data for a given collection on a given entity type from the second-level cache.
Method Signature
ORMEvictCollection(entityName=[String], collectionName=[String], primaryKey=[String])
Arguments
Argument
Type
Required
Description
Default
entityName
String
true
The name of the entity on which the collection is defined.
collectionName
String
true
The name of the collection property to evict.
primaryKey
String
false
Optional primary key of the entity instance for which to evict the collection. If not provided, all cached data for the collection will be evicted.
Examples
Related
Last updated
Was this helpful?