MCPcopy
hub / github.com/sqldef/sqldef / Format

Method Format

parser/node.go:1594–1599  ·  view source on GitHub ↗

Format formats the node.

(buf *nodeBuffer)

Source from the content-addressed store, hash-verified

1592
1593// Format formats the node.
1594func (node *AliasedExpr) Format(buf *nodeBuffer) {
1595 buf.Printf("%v", node.Expr)
1596 if !node.As.IsEmpty() {
1597 buf.Printf(" as %v", node.As)
1598 }
1599}
1600
1601// Columns represents an insert column list.
1602type Columns []Ident

Callers

nothing calls this directly

Calls 2

PrintfMethod · 0.65
IsEmptyMethod · 0.45

Tested by

no test coverage detected