Skip to content

Miscellaneous

columnDataForProperty()

columnDataForProperty() — returns any

Returns a struct with data for the named property.

NameTypeRequiredDefaultDescription
propertystringyesName of column to retrieve data for.
columnDataForProperty(property) <!--- 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 --->