Format formats the node.
(buf *TrackedBuffer)
| 352 | |
| 353 | // Format formats the node. |
| 354 | func (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 | |
| 362 | func (node *Select) walkSubtree(visit Visit) error { |
| 363 | if node == nil { |