Format implements the NodeFormatter interface.
(ctx *FmtCtx)
| 1287 | |
| 1288 | // Format implements the NodeFormatter interface. |
| 1289 | func (d *DCollatedString) Format(ctx *FmtCtx) { |
| 1290 | lex.EncodeSQLString(&ctx.Buffer, d.Contents) |
| 1291 | ctx.WriteString(" COLLATE ") |
| 1292 | lex.EncodeLocaleName(&ctx.Buffer, d.Locale) |
| 1293 | } |
| 1294 | |
| 1295 | // ResolvedType implements the TypedExpr interface. |
| 1296 | func (d *DCollatedString) ResolvedType() *types.T { |
nothing calls this directly
no test coverage detected