Set the ORDER BY clause # Arguments `clause` - Order by clause (without the ORDER BY keywords) # Examples ```no_run # use graphlite_sdk::GraphLite; # let db = GraphLite::open("./mydb")?; # let session = db.session("admin")?; session.query_builder() .match_pattern("(p:Person)") .return_clause("p.name, p.age") .order_by("p.age DESC"); # Ok::<(), graphlite_sdk::Error>(()) ```
(mut self, clause: &str)
| 175 | /// # Ok::<(), graphlite_sdk::Error>(()) |
| 176 | /// ``` |
| 177 | pub fn order_by(mut self, clause: &str) -> Self { |
| 178 | self.order_by = Some(clause.to_string()); |
| 179 | self |
| 180 | } |
| 181 | |
| 182 | /// Set the SKIP value |
| 183 | /// |