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

Function parse_expr

nodedb/tests/executor_tests/test_generated_columns.rs:46–49  ·  view source on GitHub ↗

Parse an expression string into SqlExpr.

(text: &str)

Source from the content-addressed store, hash-verified

44
45/// Parse an expression string into SqlExpr.
46fn parse_expr(text: &str) -> nodedb::bridge::expr_eval::SqlExpr {
47 let (expr, _) = nodedb_query::expr_parse::parse_generated_expr(text).unwrap();
48 expr
49}
50
51fn get_doc(
52 core: &mut nodedb::data::executor::core_loop::CoreLoop,

Callers

nothing calls this directly

Calls 1

parse_generated_exprFunction · 0.85

Tested by

no test coverage detected