MCPcopy
hub / github.com/cube2222/octosql / Format

Method Format

parser/sqlparser/ast.go:354–360  ·  view source on GitHub ↗

Format formats the node.

(buf *TrackedBuffer)

Source from the content-addressed store, hash-verified

352
353// Format formats the node.
354func (node *Select) Format(buf *TrackedBuffer) {
355 buf.Myprintf("select %v%s%s%s%v from %v%v%v%v%v%v%s",
356 node.Comments, node.Cache, node.Distinct, node.Hints, node.SelectExprs,
357 node.From, node.Where,
358 node.GroupBy, node.Having, node.OrderBy,
359 node.Limit, node.Lock)
360}
361
362func (node *Select) walkSubtree(visit Visit) error {
363 if node == nil {

Callers

nothing calls this directly

Calls 1

MyprintfMethod · 0.80

Tested by

no test coverage detected