aboutsummaryrefslogtreecommitdiff
path: root/odb/relational/model.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-08-16 10:57:32 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-08-16 10:57:32 +0200
commitc4b6357a9908fb05261efa8764e5c8a6d8727b96 (patch)
treef08c518af05721cbee7f3738e66d97b905f02e87 /odb/relational/model.hxx
parent09d7377f81aeb8fde4aa1698e946457f03380d45 (diff)
Implement soft delete for persistent classes
Diffstat (limited to 'odb/relational/model.hxx')
-rw-r--r--odb/relational/model.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/odb/relational/model.hxx b/odb/relational/model.hxx
index af88eb5..d4e1792 100644
--- a/odb/relational/model.hxx
+++ b/odb/relational/model.hxx
@@ -709,6 +709,9 @@ namespace relational
if (abstract (c) && !polymorphic (c))
return;
+ if (deleted (c))
+ return;
+
qname const& name (table_name (c));
// If the table with this name was already created, assume the