ProjectionSelect in sqlparser::ast - Rust

Struct ProjectionSelect 

Source

pub struct ProjectionSelect {
    pub projection: Vec<SelectItem>,
    pub order_by: Option<OrderBy>,
    pub group_by: Option<GroupByExpr>,
}
Expand description

Query syntax for ClickHouse ADD PROJECTION statement. Its syntax is similar to SELECT statement, but it is used to add a new projection to a table. Syntax is SELECT <COLUMN LIST EXPR> [GROUP BY] [ORDER BY]

ClickHouse

The list of projected select items.

Optional ORDER BY clause for the projection-select.

Optional GROUP BY clause for the projection-select.

§
§
§
§
§
§