class sql::Row

sys::Obj
  sql::Row

Source

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

col

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

Source

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

cols

Col[] cols()

Source

Get a read-only list of the columns.

get

@Operator
Obj? get(Col col)

Source

Get column value. See type mapping.

set

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

Source

Set a column value. See type mapping.

toStr

virtual override Str toStr()

Source

Dump the cells separated by a comma.

trap

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

Source

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