entitySave

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

entitySave(entity [, forceInsert]) → returns void

entitySave Argument Reference

entity
Required

Name of the entity that must be saved in the database.

forceInsert

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

Fork me on GitHub