Create a cast expression
(expr: Expr, data_type: DataType)
| 328 | |
| 329 | /// Create a cast expression |
| 330 | pub fn cast(expr: Expr, data_type: DataType) -> Expr { |
| 331 | Expr::Cast(Cast::new(Box::new(expr), data_type)) |
| 332 | } |
| 333 | |
| 334 | /// Create a try cast expression |
| 335 | pub fn try_cast(expr: Expr, data_type: DataType) -> Expr { |
searching dependent graphs…