Knex select from multiple tables

Viewed 1666

I want to run following SQL with knex:

select * from (
  (select * from foo)
  union all
  (select * from bar)) as biz limit 10 offset 20;

Is there a way to do it without knex.raw?

1 Answers
Related