![]() |
MySQL 9.5.0
Source Code Documentation
|
#include "mysqlrouter/router_mysql_export.h"#include <inttypes.h>#include <cstddef>#include <set>#include <string>#include <vector>#include <stdexcept>Go to the source code of this file.
Classes | |
| class | mysqlrouter::sqlstring |
| struct | mysqlrouter::sqlstring::sqlstringformat |
| class | mysqlrouter::sqlstring::CustomContainerIterator< Iterator, Derived > |
| Iterator wrapper, for serializing arrays of structures to string. More... | |
Namespaces | |
| namespace | mysqlrouter |
Macros | |
| #define | __STDC_FORMAT_MACROS 1 |
Enumerations | |
| enum | mysqlrouter::SqlStringFlags { mysqlrouter::QuoteOnlyIfNeeded = 1 << 0 , mysqlrouter::UseAnsiQuotes = 1 << 1 , mysqlrouter::EndOfInput = 1 << 7 } |
Functions | |
| std::string ROUTER_MYSQL_EXPORT | mysqlrouter::escape_sql_string (const char *s, bool wildcards=false) |
| std::string ROUTER_MYSQL_EXPORT | mysqlrouter::escape_sql_string (const char *s, int len, bool wildcards) |
| Escape a string to be used in a SQL query Same code as used by mysql. More... | |
| std::string ROUTER_MYSQL_EXPORT | mysqlrouter::escape_sql_string (const std::string &string, bool wildcards=false) |
| std::string ROUTER_MYSQL_EXPORT | mysqlrouter::escape_backticks (const char *s, int length) |
| std::string ROUTER_MYSQL_EXPORT | mysqlrouter::escape_backticks (const std::string &string) |
| std::string ROUTER_MYSQL_EXPORT | mysqlrouter::quote_identifier (const std::string &identifier, const char quote_char) |
| std::string ROUTER_MYSQL_EXPORT | mysqlrouter::quote_identifier_if_needed (const std::string &ident, const char quote_char) |
| Quotes the given identifier, but only if it needs to be quoted. More... | |
| #define __STDC_FORMAT_MACROS 1 |