Format implements the NodeFormatter interface.
(ctx *FmtCtx)
| 45 | |
| 46 | // Format implements the NodeFormatter interface. |
| 47 | func (node *ShowClusterSetting) Format(ctx *FmtCtx) { |
| 48 | ctx.WriteString("SHOW CLUSTER SETTING ") |
| 49 | // Cluster setting names never contain PII and should be distinguished |
| 50 | // for feature tracking purposes. |
| 51 | ctx.WithFlags(ctx.flags & ^FmtAnonymize & ^FmtMarkRedactionNode, func() { |
| 52 | ctx.FormatNameP(&node.Name) |
| 53 | }) |
| 54 | } |
| 55 | |
| 56 | // ShowClusterSettingList represents a SHOW [ALL|PUBLIC] CLUSTER SETTINGS statement. |
| 57 | type ShowClusterSettingList struct { |
nothing calls this directly
no test coverage detected