aboutsummaryrefslogtreecommitdiff
path: root/odb/database.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-11-11 10:19:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-11-11 10:29:19 +0200
commit1586cc2c76b2ce7845fd3f60d789a772c4958e4a (patch)
tree595372307aca6b170a6b8e4f6075b86791217551 /odb/database.hxx
parent9381bece0459fab204fceb09349091e838f1e940 (diff)
Complete initial bulk erase() implementation
Diffstat (limited to 'odb/database.hxx')
-rw-r--r--odb/database.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/odb/database.hxx b/odb/database.hxx
index d399209..f4a3d36 100644
--- a/odb/database.hxx
+++ b/odb/database.hxx
@@ -566,6 +566,14 @@ namespace odb
void
erase_ (const typename object_traits<T>::pointer_type&);
+ template <typename I, typename T, database_id DB>
+ void
+ erase_id_ (I, I);
+
+ template <typename I, database_id DB>
+ void
+ erase_object_ (I, I);
+
template <typename T, database_id DB, typename Q>
typename object_traits<T>::pointer_type
query_one_ (const Q&);