Format implements the NodeFormatter interface.
(ctx *FmtCtx)
| 5299 | |
| 5300 | // Format implements the NodeFormatter interface. |
| 5301 | func (d *DVoid) Format(ctx *FmtCtx) { |
| 5302 | buf, f := &ctx.Buffer, ctx.flags |
| 5303 | if !f.HasFlags(fmtRawStrings) { |
| 5304 | // void is an empty string. |
| 5305 | lexbase.EncodeSQLStringWithFlags(buf, "", f.EncodeFlags()) |
| 5306 | } |
| 5307 | } |
| 5308 | |
| 5309 | // Size implements the Datum interface. |
| 5310 | func (d *DVoid) Size() uintptr { |
nothing calls this directly
no test coverage detected