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

Method HasColumnFamily

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

HasColumnFamily returns if the ColumnTableDef has a column family.

()

Source from the content-addressed store, hash-verified

386
387// HasColumnFamily returns if the ColumnTableDef has a column family.
388func (node *ColumnTableDef) HasColumnFamily() bool {
389 return node.Family.Name != "" || node.Family.Create
390}
391
392// Format implements the NodeFormatter interface.
393func (node *ColumnTableDef) Format(ctx *FmtCtx) {

Callers 3

docRowMethod · 0.95
NewColumnTableDefFunction · 0.95
FormatMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected