MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / rollback_internal

Method rollback_internal

src/pglite/client.rs:1492–1497  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

1490 }
1491
1492 fn rollback_internal(&mut self) -> Result<()> {
1493 self.ensure_open()?;
1494 self.client.exec_internal("ROLLBACK", None)?;
1495 self.closed = true;
1496 Ok(())
1497 }
1498
1499 fn ensure_open(&self) -> Result<()> {
1500 if self.closed {

Callers 2

transactionMethod · 0.80
rollbackMethod · 0.80

Calls 2

ensure_openMethod · 0.80
exec_internalMethod · 0.80

Tested by

no test coverage detected