MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / from

Method from

crates/sql-parser/src/ast/mod.rs:58–63  ·  view source on GitHub ↗
(value: ProjectExpr)

Source from the content-addressed store, hash-verified

56
57impl From<ProjectExpr> for SqlExpr {
58 fn from(value: ProjectExpr) -> Self {
59 match value {
60 ProjectExpr::Var(name) => Self::Var(name),
61 ProjectExpr::Field(table, field) => Self::Field(table, field),
62 }
63 }
64}
65
66impl ProjectExpr {

Callers

nothing calls this directly

Calls 2

SqlIdentClass · 0.85
newFunction · 0.50

Tested by

no test coverage detected