From f8699a40bcc099564f330fd937fa6de36d49c4d8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 26 Jan 2012 12:58:06 +0200 Subject: Add clarifying comments --- odb/relational/source.hxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'odb/relational/source.hxx') 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, -- cgit v1.1