You are viewing documentation for v1.1.x. Change

propertyNames()

Description

Returns a list of property names ordered by their respective column's ordinal position in the database table. Also includes calculated property names that will be generated by the Wheels ORM.

Function Syntax

propertyNames()

Parameters

None.

Examples

<!--- Get a list of the property names in use in the user model --->
        <cfset propNames = model("user").propertyNames()>