type

Row

src class Row : Obj

Row models a row of a relational table. See pod-doc.

methods

col

Get a column by name.

cols

Get a read-only list of the columns.

get

Get column value.

set

Set a column value.

toStr

Dump the cells separated by a comma.

trap

Trap is used to get or set a column by name.

Slot Details

col

src Col? col(Str name, Bool checked := true)

Get a column by name. If not found and checked is true then throw ArgErr, otherwise return null.

cols

src Col[] cols()

Get a read-only list of the columns.

get

src @Operator
Obj? get(Col col)

Get column value. See type mapping.

set

src @Operator
Void set(Col col, Obj? val)

Set a column value. See type mapping.

toStr

src virtual override Str toStr()

Dump the cells separated by a comma.

trap

src virtual override Obj? trap(Str name, Obj?[]? args := null)

Trap is used to get or set a column by name.