MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / DefaultValues

Method DefaultValues

pkg/sql/sem/tree/insert.go:78–80  ·  view source on GitHub ↗

DefaultValues returns true iff only default values are being inserted.

()

Source from the content-addressed store, hash-verified

76
77// DefaultValues returns true iff only default values are being inserted.
78func (node *Insert) DefaultValues() bool {
79 return node.Rows.Select == nil
80}
81
82// OnConflict represents an `ON CONFLICT (columns) DO UPDATE SET exprs WHERE
83// where` clause.

Callers 2

docMethod · 0.95
FormatMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected