Format implements the NodeFormatter interface.
(ctx *FmtCtx)
| 1397 | |
| 1398 | // Format implements the NodeFormatter interface. |
| 1399 | func (d *DCollatedString) Format(ctx *FmtCtx) { |
| 1400 | lexbase.EncodeSQLString(&ctx.Buffer, d.Contents) |
| 1401 | ctx.WriteString(" COLLATE ") |
| 1402 | lex.EncodeLocaleName(&ctx.Buffer, d.Locale) |
| 1403 | } |
| 1404 | |
| 1405 | // ResolvedType implements the TypedExpr interface. |
| 1406 | func (d *DCollatedString) ResolvedType() *types.T { |
nothing calls this directly
no test coverage detected