package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

Conflicts returns whether the supplied lock modes conflict with each other.
MakeModeExclusive constructs a Mode with strength Exclusive.
MakeModeIntent constructs a Mode with strength Intent.
MakeModeNone constructs a Mode with strength None.
MakeModeShared constructs a Mode with strength Shared.
MakeModeUpdate constructs a Mode with strength Update.

# Constants

MaxDurability is the maximum value in the Durability enum.
MaxStrength is the maximum value in the Strength enum.
NumLockStrength is the total number of lock strengths in the Strength enum.

# Variables

ExclusiveLocksBlockNonLockingReads dictates locking interactions between non-locking reads and exclusive locks.