#include <utils_sqlstring.h>
◆ sqlstring() [1/3]
mysqlrouter::sqlstring::sqlstring |
( |
| ) |
|
◆ sqlstring() [2/3]
mysqlrouter::sqlstring::sqlstring |
( |
const char * |
format_string, |
|
|
const sqlstringformat |
format = 0 |
|
) |
| |
◆ sqlstring() [3/3]
mysqlrouter::sqlstring::sqlstring |
( |
const sqlstring & |
copy | ) |
|
|
default |
◆ append()
sqlstring & mysqlrouter::sqlstring::append |
( |
const std::string & |
s | ) |
|
|
private |
◆ consume_until_next_escape()
std::string mysqlrouter::sqlstring::consume_until_next_escape |
( |
| ) |
|
|
private |
◆ done()
bool mysqlrouter::sqlstring::done |
( |
| ) |
const |
◆ next_escape()
int mysqlrouter::sqlstring::next_escape |
( |
| ) |
|
|
private |
◆ operator std::string()
mysqlrouter::sqlstring::operator std::string |
( |
| ) |
const |
◆ operator<<() [1/7]
sqlstring & mysqlrouter::sqlstring::operator<< |
( |
const char * |
v | ) |
|
replaces a ? in the format string with a quoted string value or ! with a back-quoted identifier value is the value is NULL, ? will be replaced with a NULL.
! will raise an exception
◆ operator<<() [2/7]
sqlstring & mysqlrouter::sqlstring::operator<< |
( |
const double |
v | ) |
|
replaces a ? in the format string with a double numeric value
◆ operator<<() [3/7]
sqlstring & mysqlrouter::sqlstring::operator<< |
( |
const float |
val | ) |
|
|
inline |
replaces a ? in the format string with a float numeric value
◆ operator<<() [4/7]
replaces a ? or ! with the content of the other string verbatim
◆ operator<<() [5/7]
modifies formatting options
◆ operator<<() [6/7]
sqlstring & mysqlrouter::sqlstring::operator<< |
( |
const std::string & |
v | ) |
|
replaces a ? in the format string with a quoted string value or ! with a back-quoted identifier value
◆ operator<<() [7/7]
template<typename T >
sqlstring & mysqlrouter::sqlstring::operator<< |
( |
const T |
value | ) |
|
|
inline |
replaces a ? in the format string with any integer numeric value
◆ operator=()
◆ str()
std::string mysqlrouter::sqlstring::str |
( |
| ) |
const |
◆ _format
◆ _format_string_left
std::string mysqlrouter::sqlstring::_format_string_left |
|
private |
◆ _formatted
std::string mysqlrouter::sqlstring::_formatted |
|
private |
◆ end
◆ null
The documentation for this class was generated from the following files: