CloseAndGetString combines Close() and String().
()
| 428 | |
| 429 | // CloseAndGetString combines Close() and String(). |
| 430 | func (ctx *FmtCtx) CloseAndGetString() string { |
| 431 | s := ctx.String() |
| 432 | ctx.Close() |
| 433 | return s |
| 434 | } |
| 435 | |
| 436 | func (ctx *FmtCtx) alwaysFormatTablePrefix() bool { |
| 437 | return ctx.flags.HasFlags(FmtAlwaysQualifyTableNames) || ctx.tableNameFormatter != nil |
no test coverage detected