proof_of_sql_parser::utility

Function select

source
pub fn select(
    expr: Box<SetExpression>,
    order_by: Vec<OrderBy>,
    slice: Option<Slice>,
) -> SelectStatement
Expand description

Generate a query of the kind SELECT … ORDER BY … [LIMIT … OFFSET …]

Note that expr is a boxed SetExpression