MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / begin

Method begin

nodedb-client/src/native/connection/mod.rs:290–293  ·  view source on GitHub ↗

Begin a transaction.

(&mut self)

Source from the content-addressed store, hash-verified

288
289 /// Begin a transaction.
290 pub async fn begin(&mut self) -> NodeDbResult<()> {
291 let resp = self.send(OpCode::Begin, TextFields::default()).await?;
292 check_error(resp)
293 }
294
295 /// Commit the current transaction.
296 pub async fn commit(&mut self) -> NodeDbResult<()> {

Callers

nothing calls this directly

Calls 2

check_errorFunction · 0.85
sendMethod · 0.45

Tested by

no test coverage detected