Skip to main content

Crate marsdb_query

Crate marsdb_query 

Source

Structs§

Executor
QueryResult

Enums§

Literal
PathElem
One element of a Value::Path — a path is node, edge, node, edge, ..., node, alternating, as a single Vec, not two parallel node/edge vecs (which would create an unenforced nodes.len() == edges.len() + 1 invariant across every place a path gets built or read).
QueryError
Statement
Value

Functions§

parse
parse_many
Parses a ;-separated batch of one or more statements (e.g. "CREATE (a); CREATE (b); MATCH (n) RETURN n"). A ; inside a string literal doesn’t split anything — see queries’ grammar comment.
substitute_params
Resolves every $name placeholder in stmt to a concrete Literal using params, in place. Called before execution so the executor never sees Literal::Param — see the unreachable! in executor::literal_to_value.