18 #ifndef PQXX_H_PREPARED_STATEMENT
19 #define PQXX_H_PREPARED_STATEMENT
21 #include "pqxx/compiler-public.hxx"
22 #include "pqxx/compiler-internal-pre.hxx"
24 #include "pqxx/internal/statement_parameters.hxx"
29 class connection_base;
30 class transaction_base;
187 const PGSTD::string m_statement;
192 class PQXX_LIBEXPORT
invocation : internal::statement_parameters
211 { add_param(v);
return *
this; }
218 template<
typename T>
invocation &operator()(
const T &v,
bool nonnull)
219 { add_param(v, nonnull);
return *
this; }
240 template<
typename T>
invocation &operator()(T *v,
bool nonnull=
true)
241 { add_param(v, nonnull);
return *
this; }
249 { add_param(v, nonnull);
return *
this; }
256 const PGSTD::string m_statement;
257 PGSTD::vector<PGSTD::string> m_values;
258 PGSTD::vector<bool> m_nonnull;
260 invocation &setparam(
const PGSTD::string &,
bool nonnull);
302 template<
typename IT>
const PGSTD::string &operator()(IT i)
312 #include "pqxx/compiler-internal-post.hxx"