Fantom

 

class

sql::Row

sys::Obj
  sql::Row

Row models a row of a relational table.

See docLib::Sql.

Slots

colSource

native 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.

colsSource

native Col[] cols()

Get a read-only list of the columns.

getSource

native Obj? get(Col col)

Get column value.

setSource

native Void set(Col col, Obj? val)

Set a column value.

toStrSource

override Str toStr()

Overrides sys::Obj.toStr

Dump the cells separated by a comma.

trapSource

override Obj? trap(Str name, Obj?[]? args)

Overrides sys::Obj.trap

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