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

Method AddOnDuplicateKey

sql/dml/insert.go:180–183  ·  view source on GitHub ↗

AddOnDuplicateKey has some hidden features for best flexibility. You can only set the Columns itself to allow the following SQL construct: `columnA`=VALUES(`columnA`) Means columnA gets automatically mapped to the VALUES column name.

(c ...*Condition)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

TestInsert_BindFunction · 0.80
TestInsert_CloneFunction · 0.80

Calls

no outgoing calls

Tested by 5

TestInsert_BindFunction · 0.64
TestInsert_CloneFunction · 0.64