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

Method Format

parser/node.go:159–168  ·  view source on GitHub ↗

Format formats the node.

(buf *nodeBuffer)

Source from the content-addressed store, hash-verified

157
158// Format formats the node.
159func (node *DistinctClause) Format(buf *nodeBuffer) {
160 if node == nil {
161 return
162 }
163 if len(node.On) > 0 {
164 buf.Printf("distinct on (%v) ", node.On)
165 } else {
166 buf.Printf("distinct ")
167 }
168}
169
170// Select.Hints
171const (

Callers

nothing calls this directly

Calls 1

PrintfMethod · 0.65

Tested by

no test coverage detected