pub struct Column {
pub name: String,
pub ty: Type,
pub nullable: bool,
pub comment: Option<String>,
pub delimiter: Option<String>,
pub described: Option<String>,
}Expand description
A result column: the format’s field of a row (types::Field) and what Reylo’s run time reads beside it.
Fields§
§name: String§ty: Type§nullable: bool§comment: Option<String>The comment the database keeps on the table column the result column reads as it is
(COMMENT ON COLUMN, MySQL’s COMMENT '…'), for the field’s doc comment; none for an
expression.
delimiter: Option<String>What separates the elements of an array column’s text, where it is not a comma, which the
run time reads the array’s text with (Param::delimiter).
described: Option<String>The column’s type as the server names it, on one line (DateTime64(3, 'UTC')), where a
result carries its columns’ types with its rows, as ClickHouse’s does: the run time holds
each result’s against it, since a setting of the session that runs the statement can change
a type the analysis read. The format’s field leaves it out.