columnDataForProperty()
Description
Returns a struct with data for the named property.
Function Syntax
columnDataForProperty(property)
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
property |
string |
Yes | |
Name of column to retrieve data for. |
Examples
<!--- Get an object, set a value and then see if the property exists --->
<cfset employee = model("employee").new()>
<cfset employee.columnDataForProperty("firstName")><!--- returns column struct --->
