diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-17 13:34:17 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-25 06:43:50 +0200 |
commit | 6ba692aabf2afae6dab83139ca5e219bfc614890 (patch) | |
tree | 75eec5e22602a5ddae9bc82c5d8253f922853c0c /odb/sqlite/statement.hxx | |
parent | 3bb29e43f60229bcac00777c839174703f848c16 (diff) |
Implement bulk database operation support for Oracle and SQL Server
Diffstat (limited to 'odb/sqlite/statement.hxx')
-rw-r--r-- | odb/sqlite/statement.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
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 |