MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / default_registry

Function default_registry

nodedb-sql/src/planner/const_fold.rs:35–37  ·  view source on GitHub ↗

Access the shared default registry.

()

Source from the content-addressed store, hash-verified

33
34/// Access the shared default registry.
35pub fn default_registry() -> &'static FunctionRegistry {
36 &DEFAULT_REGISTRY
37}
38
39/// Convenience wrapper around [`fold_constant`] using the default registry.
40pub fn fold_constant_default(expr: &SqlExpr) -> Option<SqlValue> {

Callers 2

fold_constant_defaultFunction · 0.85
try_eval_scalar_functionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected