aboutsummaryrefslogtreecommitdiff
path: root/odb/pgsql/statement.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-11-17 09:08:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-11-25 06:44:31 +0200
commit2db43d4c2f2bed0348d781367090e633ad02779f (patch)
treec966a8dfb7855866e7bc89e6d4ef9c5c5fb3560c /odb/pgsql/statement.hxx
parent6323bca38688f0f5be72481fb146313d2fc5fe78 (diff)
Implement bulk database operation support for Oracle and SQL Server
Diffstat (limited to 'odb/pgsql/statement.hxx')
-rw-r--r--odb/pgsql/statement.hxx14
1 files changed, 3 insertions, 11 deletions
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