Std.Db.Row
15 public declarations
- at
&Std.Db.Driver.Rows -> Int -> Int -> Result[Std.Db.Driver.Value, Std.Db.Row.RowError]The value at a row and column, both counted from zero.
- bytes
&Std.Db.Driver.Rows -> Int -> Str -> Result[Bytes, Std.Db.Row.RowError]A named column read as raw bytes.
- decimal
&Std.Db.Driver.Rows -> Int -> Str -> Result[Decimal, Std.Db.Row.RowError]A named column read as an exact decimal.
- indexOf
&Std.Db.Driver.Rows -> Str -> Result[Int, Std.Db.Row.RowError]Named access refuses duplicate labels, which require aliases or indexed access.
- integer
&Std.Db.Driver.Rows -> Int -> Str -> Result[Int64, Std.Db.Row.RowError]A named column read as a whole number.
- map
&Std.Db.Driver.Rows -> fn(Std.Db.Driver.Rows, Int) -> Result[T, Std.Db.Row.RowError] -> Result[Array[T], Std.Db.Row.RowError]Mapping order follows the result; the first mapper failure stops consumption.
- Mapper
Turns one row into a value, or says why it could not.
- nullable
&Std.Db.Driver.Rows -> Int -> Str -> Result[Option[Std.Db.Driver.Value], Std.Db.Row.RowError]None means a present SQL NULL, never a missing column or malformed row.
- one
&Std.Db.Driver.Rows -> fn(Std.Db.Driver.Rows, Int) -> Result[T, Std.Db.Row.RowError] -> Result[T, Std.Db.Row.RowError]The single row a query answered, or an error when it answered none or several.
- optional
&Std.Db.Driver.Rows -> fn(Std.Db.Driver.Rows, Int) -> Result[T, Std.Db.Row.RowError] -> Result[Option[T], Std.Db.Row.RowError]The one row a query answered, or nothing. Several rows is an error.
- real
&Std.Db.Driver.Rows -> Int -> Str -> Result[Float64, Std.Db.Row.RowError]A named column read as a binary floating number.
- RowError
Why a value could not be read out of a result set.
- text
&Std.Db.Driver.Rows -> Int -> Str -> Result[Str, Std.Db.Row.RowError]A named column read as text. A null is an error, not an empty string.
- truth
&Std.Db.Driver.Rows -> Int -> Str -> Result[Bool, Std.Db.Row.RowError]A named column read as a truth value.
- value
&Std.Db.Driver.Rows -> Int -> Str -> Result[Std.Db.Driver.Value, Std.Db.Row.RowError]The value in a named column of a row, whatever its kind.
