EntityMerge()
Attaches given entity to current ORM session
EntityMerge( entity=any );
Returns: any
Examples
entity = entityLoad( "users", {FirstName="lucee"}, true );
ormclearsession();
EntityMerge( entity ); //merge entity
writeOutput(ormgetsession().getStatistics().getEntityCount());
See also
- ORM
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)