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"
30 class connection_base;
31 class transaction_base;
124 class PQXX_LIBEXPORT
invocation : internal::statement_parameters
143 { add_param(v,
true);
return *
this; }
150 { add_binary_param(v,
true);
return *
this; }
157 template<
typename T>
invocation &operator()(
const T &v,
bool nonnull)
158 { add_param(v, nonnull);
return *
this; }
166 { add_binary_param(v, nonnull);
return *
this; }
187 template<
typename T>
invocation &operator()(T *v,
bool nonnull=
true)
188 { add_param(v, nonnull);
return *
this; }
196 { add_param(v, nonnull);
return *
this; }
203 const PGSTD::string m_statement;
204 PGSTD::vector<PGSTD::string> m_values;
205 PGSTD::vector<bool> m_nonnull;
207 invocation &setparam(
const PGSTD::string &,
bool nonnull);
229 #include "pqxx/compiler-internal-post.hxx"