MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / cast

Method cast

src/sql-parser/src/ast/defs/expr.rs:1038–1043  ·  view source on GitHub ↗
(self, data_type: T::DataType)

Source from the content-addressed store, hash-verified

1036 }
1037
1038 pub fn cast(self, data_type: T::DataType) -> Expr<T> {
1039 Expr::Cast {
1040 expr: Box::new(self),
1041 data_type,
1042 }
1043 }
1044
1045 pub fn call(name: T::ItemName, args: Vec<Expr<T>>) -> Expr<T> {
1046 Expr::Function(Function {

Callers 3

plan_bool_andMethod · 0.80
plan_bool_orMethod · 0.80
repurpose_allocationFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected