Format implements the NodeFormatter interface.
(ctx *FmtCtx)
| 1668 | |
| 1669 | // Format implements the NodeFormatter interface. |
| 1670 | func (node *CollateExpr) Format(ctx *FmtCtx) { |
| 1671 | exprFmtWithParen(ctx, node.Expr) |
| 1672 | ctx.WriteString(" COLLATE ") |
| 1673 | lex.EncodeLocaleName(&ctx.Buffer, node.Locale) |
| 1674 | } |
| 1675 | |
| 1676 | // TupleStar represents (E).* expressions. |
| 1677 | // It is meant to evaporate during star expansion. |
nothing calls this directly
no test coverage detected