Model Class
propertyNames()
Signature
Section titled “Signature”propertyNames() — returns string
Available in: model
Category: Miscellaneous Functions
Description
Section titled “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 CFWheels ORM.
Examples
Section titled “Examples”// Get a list of the property names in use in the user model
propNames = model("user").propertyNames();