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

Function format_bool_expr

crates/query-builder/src/expr.rs:76–81  ·  view source on GitHub ↗
(v: &Operand<T>)

Source from the content-addressed store, hash-verified

74}
75
76fn format_bool_expr<T>(v: &Operand<T>) -> String {
77 match v {
78 Operand::Column(col) => col.fmt(),
79 Operand::Literal(lit) => lit.0.clone(),
80 }
81}
82
83pub fn format_expr<T>(expr: &BoolExpr<T>) -> String {
84 match expr {

Callers

nothing calls this directly

Calls 2

fmtMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…