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

Method AddOnDuplicateKeyExclude

sql/dml/insert.go:189–192  ·  view source on GitHub ↗

AddOnDuplicateKeyExclude adds a column to the exclude list. As soon as a column gets set with this function the ON DUPLICATE KEY clause gets generated. Usually the slice `OnDuplicateKeyExclude` contains the primary/unique key columns. Case-sensitive comparison.

(columns ...string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls

no outgoing calls

Tested by 1