[odb-users] Defining a table view with inner join

Lior Tamim liorta at gmail.com
Sun Jan 21 09:51:31 EST 2018


I see. I'm using 2.1.1, I'll upgrade.
Thanks a lot.

On Sun, Jan 21, 2018 at 4:36 PM, Boris Kolpackov <boris at codesynthesis.com>
wrote:

> Lior Tamim <liorta at gmail.com> writes:
>
> > #pragma db view table("developers") table("new_employees" inner:
> > "developers.employee_id" == "new_employees.id")
> >
> > But odb compilation fails on the 'inner' keyword:
> > error: ')' expected at the end of db pragma table
>
> What version of ODB are you using? The join types were added in 2.4.0.
>
> Boris
>


More information about the odb-users mailing list