ORMEvictEntity

Evict all entity data for this entity name from the second-level cache.

Method Signature

ORMEvictEntity(entityName=[String], primaryKey=[String])

Arguments

Argument
Type
Required
Description
Default

entityName

String

true

The name of the entity on which to evict all cached data.

primaryKey

String

false

Optional primary key of the entity instance for which to evict cached data. If not provided, all cached data for the entity will be evicted.

Examples

Last updated

Was this helpful?