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

Method HasOnUpdateExpr

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

HasOnUpdateExpr returns if the ColumnTableDef has an ON UPDATE expression.

()

Source from the content-addressed store, hash-verified

731
732// HasOnUpdateExpr returns if the ColumnTableDef has an ON UPDATE expression.
733func (node *ColumnTableDef) HasOnUpdateExpr() bool {
734 return node.OnUpdateExpr.Expr != nil
735}
736
737// HasFKConstraint returns if the ColumnTableDef has a foreign key constraint.
738func (node *ColumnTableDef) HasFKConstraint() bool {

Callers 3

docRowMethod · 0.95
NewColumnTableDefFunction · 0.95
FormatMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected