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/database.ixx | |
parent | 3bb29e43f60229bcac00777c839174703f848c16 (diff) |
Implement bulk database operation support for Oracle and SQL Server
Diffstat (limited to 'odb/sqlite/database.ixx')
-rw-r--r-- | odb/sqlite/database.ixx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/odb/sqlite/database.ixx b/odb/sqlite/database.ixx index d5918f0..5b21e36 100644 --- a/odb/sqlite/database.ixx +++ b/odb/sqlite/database.ixx @@ -27,6 +27,13 @@ namespace odb template <typename T> inline typename object_traits<T>::id_type database:: + persist (const T& obj) + { + return persist_<const T, id_sqlite> (obj); + } + + template <typename T> + inline typename object_traits<T>::id_type database:: persist (T* p) { typedef typename object_traits<T>::pointer_type object_pointer; |