EntitySave()
Saves or updates data of the entity and all related entities to the database.
EntitySave( entity=object, forceInsert=boolean );
Returns: void
| Argument | Description |
|---|---|
|
entity
object,
required
|
edit
Name of the entity that must be saved in the database. |
|
forceInsert
boolean,
optional
|
edit
If true, then Lucee always tries to insert the entity as a new record. |
Examples
editThere are currently no examples for this function.
See also
- ORM
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)