(p *PrettyCfg)
| 259 | } |
| 260 | |
| 261 | func (node TableExprs) doc(p *PrettyCfg) pretty.Doc { |
| 262 | if len(node) == 0 { |
| 263 | return pretty.Nil |
| 264 | } |
| 265 | d := make([]pretty.Doc, len(node)) |
| 266 | for i, e := range node { |
| 267 | if p.Simplify { |
| 268 | e = StripTableParens(e) |
| 269 | } |
| 270 | d[i] = p.Doc(e) |
| 271 | } |
| 272 | return p.commaSeparated(d...) |
| 273 | } |
| 274 | |
| 275 | func (node *Where) doc(p *PrettyCfg) pretty.Doc { |
| 276 | return p.unrow(node.docRow(p)) |
nothing calls this directly
no test coverage detected