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

Method DefaultValues

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

DefaultValues returns true iff only default values are being inserted.

()

Source from the content-addressed store, hash-verified

79
80// DefaultValues returns true iff only default values are being inserted.
81func (node *Insert) DefaultValues() bool {
82 return node.Rows.Select == nil
83}
84
85// VectorInsert returns true iff the input for the insert operation is a
86// materialized columnar batch, in which case the Insert operator will use a

Callers 2

docMethod · 0.95
FormatMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected