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

Method ForUpdate

sql/dml/select.go:125–128  ·  view source on GitHub ↗

ForUpdate sets for index records the search encounters, locks the rows and any associated index entries, the same as if you issued an UPDATE statement for those rows. Other transactions are blocked from updating those rows, from doing SELECT ... LOCK IN SHARE MODE, or from reading the data in certai

()

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