From cae930dc00b603db04a8b9ef3627e69591d650d7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 3 Oct 2011 15:46:41 +0200 Subject: Documentation fixes --- doc/manual.xhtml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/manual.xhtml b/doc/manual.xhtml index e710765..26cc64a 100644 --- a/doc/manual.xhtml +++ b/doc/manual.xhtml @@ -6230,7 +6230,7 @@ struct employee_residence

While there is a relationship between country and employee, it is ambiguous. It can be employee::residence_ (which is what we want) or - it can be employee::location_ (which we don't + it can be employee::nationality_ (which we don't want). As result, when compiling the above view, the ODB compiler will issue an error indicating an ambiguous object relationship. To resolve this ambiguity, we can explicitly @@ -6264,6 +6264,10 @@ struct employee_country }; +

Note that correctly defining data members in this view requires + the use of a mechanism that we haven't yet covered. We will + see how to do this shortly.

+

If we assign an alias to an object and refer to a data member of this object in one of the join conditions, we have to use the unqualified alias name instead of the potentially qualified -- cgit v1.1