Loading...
Evict an entity from session, the id can be a string or structure for the primary key You can also pass in a collection name to evict from the collection
This function returns void
ormService.evict(entityName="Account",account.getID()); ormService.evict(entityName="Account"); ormService.evict(entityName="Account", collectionName="MyAccounts");
Key
Type
Required
Default
entityName
string
Yes
---
collectionName
No
id
any