Return to v2.0 docs

propertyNames()


Model Class Miscellaneous Functions string model


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.

// Get a list of the property names in use in the user model
propNames = model("user").propertyNames();

Related Functions

Miscellaneous Functions