diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-17 13:35:21 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-25 06:43:14 +0200 |
commit | d44d7c96d38453d5a971b813be4c6635bf0b38fb (patch) | |
tree | 3d3d0803f4ae707cf8926ce134ace4a35c08a8f5 /odb/mysql/database.ixx | |
parent | f5826c7da4cc11d46a34e4a5e435cff2730c7263 (diff) |
Implement bulk database operation support for Oracle and SQL Server
Diffstat (limited to 'odb/mysql/database.ixx')
-rw-r--r-- | odb/mysql/database.ixx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/odb/mysql/database.ixx b/odb/mysql/database.ixx index 09fc641..68aecec 100644 --- a/odb/mysql/database.ixx +++ b/odb/mysql/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_mysql> (obj); + } + + template <typename T> + inline typename object_traits<T>::id_type database:: persist (T* p) { typedef typename object_traits<T>::pointer_type object_pointer; |