MCPcopy
hub / github.com/lxc/incus / Tx

Method Tx

internal/server/db/transaction.go:27–29  ·  view source on GitHub ↗

Tx retrieves the underlying transaction on the cluster database.

()

Source from the content-addressed store, hash-verified

25
26// Tx retrieves the underlying transaction on the cluster database.
27func (c *ClusterTx) Tx() *sql.Tx {
28 return c.tx
29}
30
31// NodeID sets the node NodeID associated with this cluster transaction.
32func (c *ClusterTx) NodeID(id int64) {

Calls

no outgoing calls