API · struct
Row
pub(all) struct Row {
schema : RowSchema
values : Array[RowValue?]
}A builder for one row. Create it from a schema, set each field in any order, then call finish to get the row's bytes.
Fields
| Field | Meaning |
|---|---|
schema : RowSchema | The schema this row is being built against. |
values : Array[RowValue?] | One entry per field, in schema order. |
Methods
finish
fn Row::finish(Self) -> Bytes raise
Serialise the row. A field left unset is written as null.
set
fn Row::set(Self, Int32, RowValue) -> Unit raise
Place v in field i. The value must fit the field's type, or the call refuses.
Generated from src/pkg.generated.mbti and the doc comments beside this declaration.