Skip to content
Jorge Reyes edited this page May 29, 2015 · 5 revisions

Merge an entity or array of entities back into the session

###Returns

  • This function returns void

###Arguments

Key Type Required Default Description
entity any Yes ---

###Examples

// merge a single entity back
ormService.merge( userEntity );
// merge an array of entities
collection = [entity1,entity2,entity3];
ormService.merge( collection );

Clone this wiki locally