The `Txn` struct is a component of the `client` package in the `github.com.cockroachdb.cockroach.pkg.internal` GitHub repository. It is used in the CockroachDB distributed database system written in the Go programming language. This struct is responsible for representing a transaction within the client library, allowing users to perform various database operations within a consistent and isolated transactional context. It provides the necessary methods and fields to interact with the database and manage the transaction's state and lifecycle.
Golang Txn - 22 examples found. These are the top rated real world Golang examples of github.com/cockroachdb/cockroach/pkg/internal/client.Txn extracted from open source projects. You can rate examples to help us improve the quality of examples.