(expr: &ast::Expr)
| 54 | } |
| 55 | |
| 56 | fn fold_constant_value(expr: &ast::Expr) -> Result<SqlValue> { |
| 57 | let sql_expr = crate::resolver::expr::convert_expr(expr)?; |
| 58 | super::const_fold::fold_constant_default(&sql_expr).ok_or_else(|| SqlError::Unsupported { |
| 59 | detail: format!("value expression: {expr}"), |
| 60 | }) |
| 61 | } |
| 62 | |
| 63 | /// Spatial constructors that synthesise a GeoJSON string literal directly |
| 64 | /// in value position (rather than going through the registered scalar |
no test coverage detected