diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2011-08-22 11:43:52 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2011-08-22 11:43:52 +0200 |
commit | b536a5596073c6e253a8270d7da3280b23165e4f (patch) | |
tree | 8f3e540854be74a32e7e196e8afce97b0ec19cce /odb/pgsql/statement.hxx | |
parent | ee570de4bd013fd2a4351d33d11539621f00bf57 (diff) |
Add support for constructing delete_statement with native binding only
This is similar to what we do in select_statement.
Diffstat (limited to 'odb/pgsql/statement.hxx')
-rw-r--r-- | odb/pgsql/statement.hxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/odb/pgsql/statement.hxx b/odb/pgsql/statement.hxx index 3a25f5e..11e04b3 100644 --- a/odb/pgsql/statement.hxx +++ b/odb/pgsql/statement.hxx @@ -246,6 +246,13 @@ namespace odb binding& cond, native_binding& native_cond); + delete_statement (connection& conn, + const std::string& name, + const std::string& stmt, + const Oid* types, + std::size_t types_count, + native_binding& native_cond); + unsigned long long execute (); @@ -254,7 +261,7 @@ namespace odb delete_statement& operator= (const delete_statement&); private: - binding& cond_; + binding* cond_; native_binding& native_cond_; }; } |