#include <sql_query.h>
Collaboration diagram for mysqlpp::SQLQueryParms:
Public Methods | |
SQLQueryParms () | |
Default constructor. | |
SQLQueryParms (SQLQuery *p) | |
Create object. | |
bool | bound () |
Returns true if we are bound to a query object. | |
void | clear () |
Clears the list. | |
SQLString & | operator[] (size_type n) |
Access element number n. | |
const SQLString & | operator[] (size_type n) const |
Access element number n. | |
SQLString & | operator[] (const char *str) |
Access the value of the element with a key of str. | |
const SQLString & | operator[] (const char *str) const |
Access the value of the element with a key of str. | |
SQLQueryParms & | operator<< (const SQLString &str) |
Adds an element to the list. | |
SQLQueryParms & | operator+= (const SQLString &str) |
Adds an element to the list. | |
SQLQueryParms | operator+ (const SQLQueryParms &other) const |
Build a composite of two parameter lists. | |
void | set (ss a, ss b, ss c, ss d, ss e, ss f, ss g, ss h, ss i, ss j, ss k, ss l) |
Set the template query parameters. |
|
Create object.
|
|
Returns true if we are bound to a query object. Basically, this tells you which of the two ctors were called. |
|
Build a composite of two parameter lists.
If this list is (a, b) and
If the two lists are the same length or this list is longer than the |
|
Set the template query parameters. Sets parameter 0 to a, parameter 1 to b, etc. There are overloaded versions of this function that take anywhere from one to a dozen parameters. |