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

Method Format

parser/node.go:1580–1585  ·  view source on GitHub ↗

Format formats the node.

(buf *nodeBuffer)

Source from the content-addressed store, hash-verified

1578
1579// Format formats the node.
1580func (node *StarExpr) Format(buf *nodeBuffer) {
1581 if !node.TableName.IsEmpty() {
1582 buf.Printf("%v.", node.TableName)
1583 }
1584 buf.Printf("*")
1585}
1586
1587// AliasedExpr defines an aliased SELECT expression.
1588type AliasedExpr struct {

Callers

nothing calls this directly

Calls 2

PrintfMethod · 0.65
IsEmptyMethod · 0.45

Tested by

no test coverage detected