[odb-users] Inverse pragma using composite value types

Boris Kolpackov boris at codesynthesis.com
Tue Sep 8 10:58:30 EDT 2015


Hi Markus,

Markus Klemm <markus at markusklemm.net> writes:

> so I guess support for views is not intented either?!

No you should be able to slice & dice it pretty much any way you
want with an ODB view.

> Because #pragma db view object(measurement_parameter)
> object(measurement_set:measurement_parameter::measurement_parameter_key.measurement_set_id)

Since this is not a relationship in ODB terms, you will have to spell
out the actual JOIN condition. See the manual, it has examples of this.

Boris



More information about the odb-users mailing list