Outputs a string in backquotes for MySQL.
| 601 | |
| 602 | /// Outputs a string in backquotes for MySQL. |
| 603 | inline void writeBackQuotedStringMySQL(std::string_view s, WriteBuffer & buf) |
| 604 | { |
| 605 | writeChar('`', buf); |
| 606 | writeAnyEscapedString<'`', true>(s.data(), s.data() + s.size(), buf); |
| 607 | writeChar('`', buf); |
| 608 | } |
| 609 | |
| 610 | |
| 611 | /// Write quoted if the string doesn't look like and identifier. |