Return to v1.4.5 docs

propertyNames()



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.

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