Miscellaneous
reload()
Signature
Section titled “Signature”reload() — returns any
Description
Section titled “Description”Reloads the property values of this object from the database.
Examples
Section titled “Examples”reload() <!--- Get an object, call a method on it that could potentially change values, and then reload the values from the database --->
<cfset employee = model("employee").findByKey(params.key)>
<cfset employee.someCallThatChangesValuesInTheDatabase()>
<cfset employee.reload()>