XmlTableColumnOption in sqlparser::ast - Rust

Enum XmlTableColumnOption 

Source

pub enum XmlTableColumnOption {
    NamedInfo {
        type: DataType,
        path: Option<Expr>,
        default: Option<Expr>,
        nullable: bool,
    },
    ForOrdinality,
}
Expand description

Defines the options for an XmlTable column: Named or ForOrdinality

§

A named column with a type, optional path, and default value.

Fields

The type of the column to be extracted.

The path to the column to be extracted. If None, defaults to the column name.

Default value if path does not match

Whether the column is nullable (NULL=true, NOT NULL=false)

§

The FOR ORDINALITY marker

§
§
§
§
§
§