CloseAndGetString combines Close() and String().
()
| 846 | |
| 847 | // CloseAndGetString combines Close() and String(). |
| 848 | func (ctx *FmtCtx) CloseAndGetString() string { |
| 849 | s := ctx.String() |
| 850 | ctx.Close() |
| 851 | return s |
| 852 | } |
| 853 | |
| 854 | func (ctx *FmtCtx) alwaysFormatTablePrefix() bool { |
| 855 | return ctx.flags.HasFlags(FmtAlwaysQualifyTableNames) || ctx.tableNameFormatter != nil |
no test coverage detected