
Col models the column of a relational table. Col is a subclass of Field and uses the standard reflection APIs.
Refer to the Sql docs for more details.
Slots
- get
-
Get the cell of a row.
- index
-
const Int index
Zero based index of the column in the query result.
- make
-
new make(Int index, Str name, Type of, Str sqlType, Str:Obj facets := def)
Construct a column for the given meta-data.
- set
-
override Void set(Obj row, Obj val)
Set the cell of a row.
- sqlType
-
const Str sqlType
The type of the column as defined by the SQL database.