MCPcopy Create free account
hub / github.com/dolthub/doltgresql / DefaultValues

Method DefaultValues

postgres/parser/sem/tree/insert.go:96–98  ·  view source on GitHub ↗

DefaultValues returns true iff only default values are being inserted.

()

Source from the content-addressed store, hash-verified

94
95// DefaultValues returns true iff only default values are being inserted.
96func (node *Insert) DefaultValues() bool {
97 return node.Rows.Select == nil
98}
99
100// OnConflict represents an `ON CONFLICT (columns) WHERE arbiter DO UPDATE SET
101// exprs WHERE where` clause.

Callers 2

docMethod · 0.95
FormatMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected