mz_sql::plan::typeconv

Function to_string

Source
pub fn to_string(ecx: &ExprContext<'_>, expr: HirScalarExpr) -> HirScalarExpr
Expand description

Converts an expression to ScalarType::String.

All types are convertible to string, so this never fails.