aboutsummaryrefslogtreecommitdiff
path: root/odb/relational/source.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-01-26 12:58:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-01-26 12:58:06 +0200
commitf8699a40bcc099564f330fd937fa6de36d49c4d8 (patch)
treed5dbccfd9448804481e9d22c6f690f61b2d9d874 /odb/relational/source.hxx
parentabd25278f0c51ccda3b717c8f56731bb6190e5a0 (diff)
Add clarifying comments
Diffstat (limited to 'odb/relational/source.hxx')
-rw-r--r--odb/relational/source.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/odb/relational/source.hxx b/odb/relational/source.hxx
index ff62257..05693bf 100644
--- a/odb/relational/source.hxx
+++ b/odb/relational/source.hxx
@@ -112,6 +112,8 @@ namespace relational
// This container is a direct member of the class so the table
// prefix is just the class table name. We don't assign join
// aliases for container tables so use the actual table name.
+ // Note that the (table_name_.empty () ? :) test may look wrong
+ // at first but it is no.
//
column (
*im,
@@ -126,7 +128,9 @@ namespace relational
semantics::data_member& id (*id_member (*c));
// Use the join alias (column name) instead of the actual
- // table name unless we are handling a container.
+ // table name unless we are handling a container. Note that
+ // the (table_name_.empty () ? :) test may look wrong at
+ // first but it is no.
//
column (
id,