entitySave

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

entitySave(entity [, forceInsert]) → returns void

Argument Reference for the entitySave function

entity

Required: Yes
Name of the entity that must be saved in the database.

forceInsert

Required: No
If true, then ColdFusion always tries to insert the entity as a new record.


Fork me on GitHub