Rollback the transaction Discards all changes made within this transaction. This is called automatically when the transaction is dropped, so explicit rollback is rarely needed. # Examples ```no_run # use graphlite_sdk::GraphLite; # let db = GraphLite::open("./mydb")?; # let session = db.session("admin")?; let mut tx = session.transaction()?; tx.execute("CREATE (p:Person {name: 'Alice'})")?; tx.
(mut self)
| 177 | /// # Ok::<(), graphlite_sdk::Error>(()) |
| 178 | /// ``` |
| 179 | pub fn rollback(mut self) -> Result<()> { |
| 180 | self.rollback_internal() |
| 181 | } |
| 182 | |
| 183 | /// Set the behavior when this transaction is dropped |
| 184 | /// |
nothing calls this directly
no test coverage detected