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

Method Format

parser/node.go:311–314  ·  view source on GitHub ↗

Format formats the node.

(buf *nodeBuffer)

Source from the content-addressed store, hash-verified

309
310// Format formats the node.
311func (node *Union) Format(buf *nodeBuffer) {
312 buf.Printf("%v%v %s %v%v%v%s", node.With, node.Left, node.Type, node.Right,
313 node.OrderBy, node.Limit, node.Lock)
314}
315
316// With represents a WITH clause (Common Table Expressions)
317type With struct {

Callers

nothing calls this directly

Calls 1

PrintfMethod · 0.65

Tested by

no test coverage detected