Add a WITH clause WITH clauses are used for query chaining and intermediate results. # Arguments `clause` - WITH clause content (without the WITH keyword) # Examples ```no_run # use graphlite_sdk::GraphLite; # let db = GraphLite::open("./mydb")?; # let session = db.session("admin")?; session.query_builder() .match_pattern("(p:Person)") .with_clause("p, p.age as age") .where_clause("age > 25")
(mut self, clause: &str)
| 128 | /// # Ok::<(), graphlite_sdk::Error>(()) |
| 129 | /// ``` |
| 130 | pub fn with_clause(mut self, clause: &str) -> Self { |
| 131 | self.with_clauses.push(clause.to_string()); |
| 132 | self |
| 133 | } |
| 134 | |
| 135 | /// Set the RETURN clause |
| 136 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected