Skip to content

Miscellaneous

columns()

columns() — returns any

Returns an array of columns names for the table associated with this class. Does not include calculated properties that will be generated by the Wheels ORM.

columns() <!--- Get the columns names in the order they are in the database --->
<cfset employee = model("employee").columns()>