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

Boris Kolpackov boris at codesynthesis.com
Sun Jan 21 09:36:53 EST 2018


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