You are viewing documentation for v1.1.x. Change

columns()

Description

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.

Function Syntax

columns()

Parameters

None.

Examples

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