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

Function NewColumnItem

pkg/sql/sem/tree/var_name.go:168–171  ·  view source on GitHub ↗

NewColumnItem constructs a column item from an already valid TableName. This can be used for e.g. pretty-printing.

(tn *TableName, colName Name)

Source from the content-addressed store, hash-verified

166// NewColumnItem constructs a column item from an already valid
167// TableName. This can be used for e.g. pretty-printing.
168func NewColumnItem(tn *TableName, colName Name) *ColumnItem {
169 c := MakeColumnItem(tn, colName)
170 return &c
171}
172
173// MakeColumnItem constructs a column item from an already valid
174// TableName. This can be used for e.g. pretty-printing.

Callers

nothing calls this directly

Calls 1

MakeColumnItemFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…