From 6ba692aabf2afae6dab83139ca5e219bfc614890 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 17 Nov 2014 13:34:17 +0200 Subject: Implement bulk database operation support for Oracle and SQL Server --- odb/sqlite/statement.hxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'odb/sqlite/statement.hxx') diff --git a/odb/sqlite/statement.hxx b/odb/sqlite/statement.hxx index 7d7f021..84d90d7 100644 --- a/odb/sqlite/statement.hxx +++ b/odb/sqlite/statement.hxx @@ -328,12 +328,14 @@ namespace odb insert_statement (connection_type& conn, const std::string& text, bool process_text, - binding& param); + binding& param, + binding* returning); insert_statement (connection_type& conn, const char* text, bool process_text, - binding& param); + binding& param, + binding* returning); // Return true if successful and false if the row is a duplicate. // All other errors are reported by throwing exceptions. @@ -341,15 +343,13 @@ namespace odb bool execute (); - unsigned long long - id (); - private: insert_statement (const insert_statement&); insert_statement& operator= (const insert_statement&); private: binding& param_; + binding* returning_; }; class LIBODB_SQLITE_EXPORT update_statement: public statement -- cgit v1.1