Is it possible to do multiple orderBy() columns?
knex .select() .table(\'products\') .orderBy(\'id\', \'asc\')
The orderBy() chainable on
The Knex orderBy function also receives an array:
knex('users').orderBy(['email', 'age', 'name'])
or
knex('users').orderBy(['email', { column: 'age', order: 'desc' }])
knex('users').orderBy([{ column: 'email' }, { column: 'age', order: 'desc' }])