MCPcopy Create free account
hub / github.com/corestoreio/pkg / LockInShareMode

Method LockInShareMode

sql/dml/select.go:136–139  ·  view source on GitHub ↗

LockInShareMode sets a shared mode lock on any rows that are read. Other sessions can read the rows, but cannot modify them until your transaction commits. If any of these rows were changed by another transaction that has not yet committed, your query waits until that transaction ends and then uses

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestSelect_LocksFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestSelect_LocksFunction · 0.64