Col models a column of a relational table. Col is a subclass of Field and uses the standard reflection APIs.
See docLib::Sql.
Slots
- getSource
-
Overrides sys::Field.get
Get the column value for the specified row.
- indexSource
-
const Int index
Zero based index of the column in the query result.
- makeSource
-
new make(Int index, Str name, Type of, Str sqlType, [Str:Obj]? facets := null)
Construct a column for the given meta-data.
- setSource
-
override Void set(Obj? row, Obj? val)
Overrides sys::Field.set
Set the column value for the specified row.
- sqlTypeSource
-
const Str sqlType
The type of the column as defined by the SQL database.