Format implements the NodeFormatter interface.
(ctx *FmtCtx)
| 929 | |
| 930 | // Format implements the NodeFormatter interface. |
| 931 | func (node *ShowLastQueryStatistics) Format(ctx *FmtCtx) { |
| 932 | ctx.WriteString("SHOW LAST QUERY STATISTICS RETURNING ") |
| 933 | // The column names for this statement never contain PII and should |
| 934 | // be distinguished for feature tracking purposes. |
| 935 | ctx.WithFlags(ctx.flags & ^FmtAnonymize & ^FmtMarkRedactionNode, func() { |
| 936 | ctx.FormatNode(&node.Columns) |
| 937 | }) |
| 938 | } |
| 939 | |
| 940 | // ShowFullTableScans represents a SHOW FULL TABLE SCANS statement. |
| 941 | type ShowFullTableScans struct { |
nothing calls this directly
no test coverage detected