gluesql / gluesql

GlueSQL is quite sticky. It attaches to anywhere.

Home Page:https://gluesql.org/docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing impl From<Uuid> for ExprNode

edezhic opened this issue · comments

e.g.

impl<'a> From<bool> for ExprNode<'a> {
fn from(b: bool) -> Self {
ExprNode::Expr(Cow::Owned(Expr::Literal(AstLiteral::Boolean(b))))
}
}

CAST("somethinguuidstring" AS UUID) impl would be prior task to implement

for now, you can use cast function to convert literal text into uuid.