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

Method IsComputed

pkg/sql/sem/tree/create.go:743–745  ·  view source on GitHub ↗

IsComputed returns if the ColumnTableDef is a computed column.

()

Source from the content-addressed store, hash-verified

741
742// IsComputed returns if the ColumnTableDef is a computed column.
743func (node *ColumnTableDef) IsComputed() bool {
744 return node.Computed.Computed
745}
746
747// IsVirtual returns if the ColumnTableDef is a virtual column.
748func (node *ColumnTableDef) IsVirtual() bool {

Callers 2

docRowMethod · 0.95
FormatMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected