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 variableName
Required

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

forceInsert boolean

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

Fork me on GitHub