The triple dots in the example above means “I don’t care how many tables are joined. Just give me the last one.”
You can also write
select(query, [a, b, ..., y, z], [a.foo, z.bar])
if you’ve joined more than 4 tables. The first is bound to a
, the second to b
, the last to z
, and the one before it to y
.