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