MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / Query

Enum Query

graphlite/src/ast/ast.rs:115–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113/// Query can be either a basic query or a set operation
114#[derive(Debug, Clone, Serialize, Deserialize)]
115pub enum Query {
116 Basic(BasicQuery),
117 SetOperation(SetOperation),
118 /// Query with top-level ORDER BY and/or LIMIT clauses
119 Limited {
120 query: Box<Query>,
121 order_clause: Option<OrderClause>,
122 limit_clause: Option<LimitClause>,
123 },
124 /// Query with WITH clauses creating a pipeline of query segments
125 WithQuery(WithQuery),
126 /// Query with WITH/UNWIND clauses ending in mutation (REMOVE/SET/DELETE)
127 MutationPipeline(MutationPipeline),
128 /// LET statement for variable bindings
129 Let(LetStatement),
130 /// FOR statement for iteration
131 For(ForStatement),
132 /// FILTER statement for conditional filtering
133 Filter(FilterStatement),
134 /// Standalone RETURN query without MATCH
135 Return(ReturnQuery),
136 /// UNWIND statement for expanding lists into rows
137 Unwind(UnwindStatement),
138}
139
140/// Query with WITH clauses: MATCH ... WITH ... MATCH ... RETURN ...
141#[derive(Debug, Clone, Serialize, Deserialize)]

Callers 8

execute_statementMethod · 0.85
execute_basic_queryMethod · 0.85
parse_queryFunction · 0.85
queryMethod · 0.85
executeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected