From 2db43d4c2f2bed0348d781367090e633ad02779f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 17 Nov 2014 09:08:25 +0200 Subject: Implement bulk database operation support for Oracle and SQL Server --- odb/pgsql/statement.hxx | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'odb/pgsql/statement.hxx') diff --git a/odb/pgsql/statement.hxx b/odb/pgsql/statement.hxx index 6c6095c..8ecaa19 100644 --- a/odb/pgsql/statement.hxx +++ b/odb/pgsql/statement.hxx @@ -278,7 +278,7 @@ namespace odb std::size_t types_count, binding& param, native_binding& native_param, - bool returning); + binding* returning); insert_statement (connection_type& conn, const char* name, @@ -288,7 +288,7 @@ namespace odb std::size_t types_count, binding& param, native_binding& native_param, - bool returning, + binding* returning, bool copy_name_text = true); // Return true if successful and false if the row is a duplicate. @@ -297,12 +297,6 @@ namespace odb bool execute (); - unsigned long long - id () - { - return id_; - } - private: insert_statement (const insert_statement&); insert_statement& operator= (const insert_statement&); @@ -310,9 +304,7 @@ namespace odb private: binding& param_; native_binding& native_param_; - - bool returning_; - unsigned long long id_; + binding* returning_; }; class LIBODB_PGSQL_EXPORT update_statement: public statement -- cgit v1.1