usepartiql_ast::ast;// if this is just a parenthesized expr, lift it out of the query AST, otherwise return input
// e.g. `(1+2)` should be a ExprKind::Expr, not wrapped deep in a ExprKind::Query
pub(crate)fnstrip_query(q:Box<ast::Expr>)->Box<ast::Expr>{ifletast::Expr::Query(ast::AstNode {
node:ast::Query {
set:ast::AstNode {
node:ast::QuerySet::Expr(e),..},
order_by:None,
limit:None,
offset:None,},..})=*q
{
e
}else{
q
}}