Format implements the NodeFormatter interface.
(ctx *FmtCtx)
| 17 | |
| 18 | // Format implements the NodeFormatter interface. |
| 19 | func (node *Export) Format(ctx *FmtCtx) { |
| 20 | ctx.WriteString("EXPORT INTO ") |
| 21 | ctx.WriteString(node.FileFormat) |
| 22 | ctx.WriteString(" ") |
| 23 | ctx.FormatURI(node.File) |
| 24 | if node.Options != nil { |
| 25 | ctx.WriteString(" WITH OPTIONS(") |
| 26 | ctx.FormatNode(&node.Options) |
| 27 | ctx.WriteString(")") |
| 28 | } |
| 29 | ctx.WriteString(" FROM ") |
| 30 | ctx.FormatNode(node.Query) |
| 31 | } |
nothing calls this directly
no test coverage detected