Back

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 CFWheels ORM.

Name Type Required Default Description
// Get a list of the property names in use in the user model
propNames = model("user").propertyNames();
Copied!