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

Method has_active_transaction

graphlite/src/session/transaction_state.rs:62–64  ·  view source on GitHub ↗

Check if there's an active transaction

(&self)

Source from the content-addressed store, hash-verified

60
61 /// Check if there's an active transaction
62 pub fn has_active_transaction(&self) -> Result<bool, ExecutionError> {
63 Ok(self.current_transaction_id()?.is_some())
64 }
65
66 /// Check if auto-commit is enabled
67 pub fn is_auto_commit(&self) -> Result<bool, ExecutionError> {

Callers 2

begin_transactionMethod · 0.80

Calls 1

Tested by

no test coverage detected