Removing the call to
select() from the chain will make it work.
select method represents the
SELECT part of a query. This way, writing the following:
It's the same as:
SELECT lemma.* FROM ...
In other words, you're only selecting the columns from
However, since you want to also select the columns from other tables, omitting that part of your chain will make the Query Builder fallback to its default behavior, which is the same as:
SELECT * FROM ...
If you want to be explicit about what you're selecting, doing this will achieve the same: