[odb-users] Re: 2-table query

Boris Kolpackov boris at codesynthesis.com
Mon Sep 14 10:45:31 EDT 2015


MM <finjulhich at gmail.com> writes:

> odb generates the ?xx files, but it doesn't compile

What is the error?!


> #pragma db view object(F) object(M: F::get_m)\
>   query( F::month.in (M::month1, M::month2) )

ODB in() function only works on values, not members. I guess that's
the error but I shouldn't be guessing.

Boris



More information about the odb-users mailing list