const class sql::Col

sys::Obj
  sql::Col

Source

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

index

const Int index

Source

Zero based index of the column in the query result.

make

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

Source

Construct a column for the given meta-data.

name

const Str name

Source

Name of the column.

sqlType

const Str sqlType

Source

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

toStr

virtual override Str toStr()

Source

Return name.

type

const Type type

Source

Type of the column. See type mapping.