Begin a new transaction Transactions provide ACID guarantees and can be committed or rolled back. Following the rusqlite pattern, transactions will automatically roll back when dropped unless explicitly committed. # Examples ```no_run # use graphlite_sdk::GraphLite; # let db = GraphLite::open("./mydb")?; let session = db.session("admin")?; // Transaction with explicit commit let mut tx = sessi
(&self)
| 233 | /// # Ok::<(), graphlite_sdk::Error>(()) |
| 234 | /// ``` |
| 235 | pub fn transaction(&self) -> Result<Transaction<'_>> { |
| 236 | Transaction::begin(self) |
| 237 | } |
| 238 | |
| 239 | /// Get the internal coordinator (for internal SDK use) |
| 240 | pub(crate) fn coordinator(&self) -> &QueryCoordinator { |