8000 evictEntity · coldbox-modules/cborm Wiki · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Jorge Reyes edited this page May 29, 2015 · 2 revisions

Evict entity objects from session. The argument can be one persistence entity or an array of entities

###Returns

  • This function returns void

###Arguments

Key Type Required Default Description
entity any Yes ---

###Examples

// evict one entity
ORMService.evictEntity( entity );

// evict an array of entities
entities = [ user1, user2 ];
ORMService.evictEntity( entities );
Clone this wiki locally
0