Return to v1.4.5 docs

columnNames()



Returns a list of column names in the table mapped to this model. The list is ordered according to the columns' ordinal positions in the database table.

columnNames() <!--- Get a list of all the column names in the table mapped to the `author` model --->
<cfset columns = model("author").columnNames()>