Format implements the NodeFormatter interface.
(ctx *FmtCtx)
| 614 | |
| 615 | // Format implements the NodeFormatter interface. |
| 616 | func (d *DCollatedString) Format(ctx *FmtCtx) { |
| 617 | lex.EncodeSQLString(&ctx.Buffer, d.Contents) |
| 618 | ctx.WriteString(" COLLATE ") |
| 619 | lex.EncodeLocaleName(&ctx.Buffer, d.Locale) |
| 620 | } |
| 621 | |
| 622 | // ResolvedType implements the TypedExpr interface. |
| 623 | func (d *DCollatedString) ResolvedType() *types.T { |
nothing calls this directly
no test coverage detected