class

Col

const class Col : Obj

Col models a column of a relational table. Columns are accessed from rows with Row.col and Row.cols

constructors make

Construct a column for the given meta-data

fields sqlType

The type of the column as defined by the SQL database

name

Name of the column

index

Zero based index of the column in the query result

type

Type of the column

methods toStr

Return name

index const Int : index

Zero based index of the column in the query result.

make new make(Int index, Str name, Type type, Str sqlType)

Construct a column for the given meta-data.

name const Str : name

Name of the column.

sqlType const Str : sqlType

The type of the column as defined by the SQL database. See type mapping.

toStr virtual Str toStr()

Return name.

type const Type : type

Type of the column. See type mapping.

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST