diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-13 13:54:29 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-13 13:54:29 +0200 |
commit | 3afd0ae312029464ccea86f112d2d65fb858029d (patch) | |
tree | 696e08de5e706987b48d1f829a61a39741fcb11c /odb/database.ixx | |
parent | 1586cc2c76b2ce7845fd3f60d789a772c4958e4a (diff) |
Bulk update implementation
Diffstat (limited to 'odb/database.ixx')
-rw-r--r-- | odb/database.ixx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/odb/database.ixx b/odb/database.ixx index a17e90a..57828a4 100644 --- a/odb/database.ixx +++ b/odb/database.ixx @@ -396,6 +396,13 @@ namespace odb update_<T, id_common> (pobj); } + template <typename I> + inline void database:: + update (I b, I e) + { + update_<I, id_common> (b, e); + } + template <typename T> inline void database:: update (const T& obj, const section& s) |