diff options
authorBoris Kolpackov <boris@codesynthesis.com>2014-09-01 14:06:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-09-01 14:06:05 +0200
commit1d8870af31addbc3c2f71a6c1458ed8279b3e2f1 (patch)
parentb6f6e4cbbff4681550b3b163b5d4ab2c3ba44819 (diff)
Fix bug in soft-delete example in manual (deleted_data)
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/manual.xhtml b/doc/manual.xhtml
index 57b95af..f03398f 100644
--- a/doc/manual.xhtml
+++ b/doc/manual.xhtml
@@ -13183,6 +13183,7 @@ class person
std::string last_;
+ #pragma db column("")
std::unique_ptr&lt;deleted_data> dd_;
@@ -13193,7 +13194,9 @@ class person
any of the deleted data members are being loaded. During the normal
operation, however, the pointer will stay <code>NULL</code> and
therefore reduce the common case overhead to a single pointer
- per class.</p>
+ per class. Note that we make the composite value column prefix
+ empty (the <code>db&nbsp;column("")</code> pragma) in order to
+ keep the same column names for the deleted data members.</p>
<p>Soft-added and deleted data members can be used in objects,
composite values, views, and container value types. We can