pub trait AbstractExpr {
type Type: AbstractColumnType;
// Required method
fn typ(
&self,
outers: &[SqlRelationType],
inner: &SqlRelationType,
params: &BTreeMap<usize, SqlScalarType>,
) -> Self::Type;
}
Expand description
An expression whose type can be ascertained.
Abstracts over ScalarExpr
and CoercibleScalarExpr
.
Required Associated Types§
type Type: AbstractColumnType
Required Methods§
Sourcefn typ(
&self,
outers: &[SqlRelationType],
inner: &SqlRelationType,
params: &BTreeMap<usize, SqlScalarType>,
) -> Self::Type
fn typ( &self, outers: &[SqlRelationType], inner: &SqlRelationType, params: &BTreeMap<usize, SqlScalarType>, ) -> Self::Type
Computes the type of the expression.