MCPcopy Create free account
hub / github.com/sqldef/sqldef / Format

Method Format

parser/node.go:1734–1742  ·  view source on GitHub ↗
(buf *nodeBuffer)

Source from the content-addressed store, hash-verified

1732}
1733
1734func (node *OpenJSONSchemaItem) Format(buf *nodeBuffer) {
1735 buf.Printf("%v %v", node.Name, &node.Type)
1736 if node.Path != "" {
1737 buf.Printf(" %v", NewStrVal(node.Path))
1738 }
1739 if node.AsJSON {
1740 buf.Printf(" as json")
1741 }
1742}
1743
1744// TableNames is a list of TableName.
1745type TableNames []TableName

Callers

nothing calls this directly

Calls 2

NewStrValFunction · 0.85
PrintfMethod · 0.65

Tested by

no test coverage detected