#include <prepared_statement.hxx>
Public Member Functions | |
| declaration (connection_base &, const PGSTD::string &statement) | |
| const declaration & | operator() (const PGSTD::string &sqltype, param_treatment) const |
| Add a parameter specification to prepared statement declaration. | |
You probably won't want to use this class. It's here just so you can declare parameters by adding parenthesized declarations directly after the statement declaration itself:
C.prepare(name, query)(paramtype1)(paramtype2, treatment)(paramtype3);
| pqxx::prepare::declaration::declaration | ( | connection_base & | , | |
| const PGSTD::string & | statement | |||
| ) |
| const pqxx::prepare::declaration & pqxx::prepare::declaration::operator() | ( | const PGSTD::string & | sqltype, | |
| param_treatment | ||||
| ) | const |
Add a parameter specification to prepared statement declaration.
1.5.1