Skip to main content

query

Function query 

Source
pub fn query(q: impl Query + 'static) -> Expr
Expand description

A query as an expression, not parenthesised.

The form for slots that supply their own parentheses — a WITH body, INSERT … SELECTand for a compound operand, which in SQLite must have no parentheses at all. Use subquery where the parentheses belong to the sub-query itself, as in a FROM item or a scalar sub-expression.