class sql::Row
sys::Obj sql::Row
Row models a row of a relational table. See pod-doc.
- col
-
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
-
Col[] cols()
Get a read-only list of the columns.
- get
-
Get column value. See type mapping.
- set
-
@Operator
Void set(Col col, Obj? val)Set a column value. See type mapping.
- toStr
-
virtual override Str toStr()
Dump the cells separated by a comma.
- trap
-
virtual override Obj? trap(Str name, Obj?[]? args := null)
Trap is used to get or set a column by name.