diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-01-26 12:58:06 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-01-26 12:58:06 +0200 |
commit | f8699a40bcc099564f330fd937fa6de36d49c4d8 (patch) | |
tree | d5dbccfd9448804481e9d22c6f690f61b2d9d874 /odb/relational | |
parent | abd25278f0c51ccda3b717c8f56731bb6190e5a0 (diff) |
Add clarifying comments
Diffstat (limited to 'odb/relational')
-rw-r--r-- | odb/relational/source.hxx | 6 |
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, |