diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-21 07:28:16 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-21 07:28:16 +0200 |
commit | 5e584aef61346117ba7cb7d7713de56ab2303bdc (patch) | |
tree | 75eec5e22602a5ddae9bc82c5d8253f922853c0c /odb/sqlite/database.hxx | |
parent | 05a56a60151fe4540cda401e7bb630f91aa8380e (diff) |
Add database-specific persist(const T&)bulk
Diffstat (limited to 'odb/sqlite/database.hxx')
-rw-r--r-- | odb/sqlite/database.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/odb/sqlite/database.hxx b/odb/sqlite/database.hxx index 0eef6d5..f3d8248 100644 --- a/odb/sqlite/database.hxx +++ b/odb/sqlite/database.hxx @@ -124,6 +124,10 @@ namespace odb template <typename T> typename object_traits<T>::id_type + persist (const T& object); + + template <typename T> + typename object_traits<T>::id_type persist (T* obj_ptr); template <typename T, template <typename> class P> |