MCPcopy Create free account
hub / github.com/rilldata/rill / Rollback

Method Rollback

admin/database/database.go:373–373  ·  view source on GitHub ↗

Rollback discards the transaction *unless* it has already been committed. It does nothing if Commit has already been called. This means that a call to Rollback should almost always be defer'ed right after a call to NewTx.

()

Source from the content-addressed store, hash-verified

371 // It does nothing if Commit has already been called.
372 // This means that a call to Rollback should almost always be defer'ed right after a call to NewTx.
373 Rollback() error
374}
375
376// Organization represents a tenant.

Callers 15

newRiverClientFunction · 0.65
deleteAISessionBatchMethod · 0.65
migrateSingleMethod · 0.65
CreateProjectMethod · 0.65
CreateOrUpdateUserMethod · 0.65
migrateSingleMethod · 0.65

Implementers 1

noopTxadmin/database/postgres/tx.go

Calls

no outgoing calls

Tested by

no test coverage detected