CloseAndGetString combines Close() and String().
()
| 484 | |
| 485 | // CloseAndGetString combines Close() and String(). |
| 486 | func (ctx *FmtCtx) CloseAndGetString() string { |
| 487 | s := ctx.String() |
| 488 | ctx.Close() |
| 489 | return s |
| 490 | } |
| 491 | |
| 492 | func (ctx *FmtCtx) alwaysFormatTablePrefix() bool { |
| 493 | return ctx.flags.HasFlags(FmtAlwaysQualifyTableNames) || ctx.tableNameFormatter != nil |