macro_rules! sql_expr {
($template:expr) => { ... };
($template:expr, $($param:tt),*) => { ... };
}Expand description
Create a SQL expression with serde_json::Value as the value type.
This is the untyped variant — parameters are plain JSON values without type markers. Useful for statement builders (Step 3) where types are inferred from context.
sql_expr!("template")— no parameterssql_expr!("template", scalar)— scalar becomesExpressiveEnum::Scalar(scalar.into())sql_expr!("template", (expr))— expr becomesExpressiveEnum::Nested(expr.expr())