|
std::string | query_template |
|
std::string | bound_query |
|
std::vector< std::string > | binding |
|
◆ SQLITE3_QUERY() [1/2]
SQLITE3_QUERY::SQLITE3_QUERY |
( |
std::string |
query_template = "" | ) |
|
|
inlineexplicit |
◆ SQLITE3_QUERY() [2/2]
Copy Constructor
- Parameters
-
◆ ~SQLITE3_QUERY()
SQLITE3_QUERY::~SQLITE3_QUERY |
( |
| ) |
|
|
default |
◆ add_binding() [1/4]
void SQLITE3_QUERY::add_binding |
( |
char * |
str | ) |
|
|
inline |
Add a new string to the binding vector
- Parameters
-
◆ add_binding() [2/4]
void SQLITE3_QUERY::add_binding |
( |
const char * |
str | ) |
|
|
inline |
Add a new string to the binding vector
- Parameters
-
◆ add_binding() [3/4]
void SQLITE3_QUERY::add_binding |
( |
const std::string & |
str | ) |
|
|
inline |
Add a new string to the binding vector
- Parameters
-
◆ add_binding() [4/4]
template<typename STRING , typename ... STRINGS>
void SQLITE3_QUERY::add_binding |
( |
STRING |
b, |
|
|
STRINGS ... |
bs |
|
) |
| |
|
inline |
Add all new string to the binding vector
- Template Parameters
-
STRING | string |
STRINGS | string pack |
- Parameters
-
◆ bind()
Replace all ? in query_template with corresponding strings in binding
- Returns
- constructed query
- Exceptions
-
- Returns
- SQLITE3_QUERY
◆ operator=()
◆ reset_binding()
◆ set_query_template()
SQLITE3_QUERY& SQLITE3_QUERY::set_query_template |
( |
std::string |
q_template | ) |
|
|
inline |
The documentation for this class was generated from the following file: