Answers for "knex join multiple conditions"

0

knex join multiple conditions

const query = knex()
  .from('table1')
  .join('table2', function() {
     this.on('tab1.id', '=', 'tab2.id')
     .onVal('tab2.code', '=', 'someValue')
}, 'left')
Posted by: Guest on September-09-2021

Code answers related to "knex join multiple conditions"

Browse Popular Code Answers by Language