[odb-users] Re: 2-table query
Boris Kolpackov
boris at codesynthesis.com
Wed Sep 16 11:10:24 EDT 2015
MM <finjulhich at gmail.com> writes:
> Is the join-condition limited to data members?
Just think a little: how would a C++ member function be mapped to
a relational model?
In ODB views, the JOIN condition can be specified as either a data
member, which should be a pointer to object, or you can spell the
condition literally, as a comparison of the relevant columns. In
other words, the JOIN condition in ODB views is a very thin
abstraction of the SQL JOIN condition. So next time when you are
try to "stick" something in there, find out it doesn't work, and
start writing another email to the mailing list, pause and think
how would something like this be mapped to SQL..?
Boris
More information about the odb-users
mailing list