Railo 4.2 Reference
Choose a function:


Saves or updates data of the entity and all related entities to the database.
EntitySave(entity, [forceinsert])


entitysave(object entity,[boolean forceInsert]):void


The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
entity object  Yes Name of the entity that must be saved in the database.  
forceInsert boolean  No If true, then Railo always tries to insert the entity as a new record.