package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
SteppingEnabled creates a TxnOption to determine whether the underlying transaction should have stepping enabled.
WithPriority allows the user to configure the priority for the transaction.
WithSessionData allows the user to configure the session data for the Txn or Executor.
# Structs
ExecutorConfig is the configuration used by the implementation of DB to set up the Executor.
TxnConfig is the config to be set for txn.
# Interfaces
DB enables clients to create and execute sql transactions from code inside the database.
Executor is meant to be used by layers below SQL in the system that nevertheless want to execute SQL queries (presumably against system tables).
Rows is an iterator interface that's exposed by the internal executor.
Txn is an internal sql transaction.