Struct ViewColumnDef
pub struct ViewColumnDef {
pub name: Ident,
pub data_type: Option<DataType>,
pub options: Option<ColumnOptions>,
}Expand description
Column definition specified in a CREATE VIEW statement.
Syntax
<name> [data_type][OPTIONS(option, ...)]
option: <name> = <value>Examples:
name
age OPTIONS(description = "age column", tag = "prod")
amount COMMENT 'The total amount for the order line'
created_at DateTime64Column identifier.
Optional data type for the column.
Optional column options (defaults, comments, etc.).