showing results for - "adonis join condition"
Luis
25 May 2018
1let posts = await Posts
2  .query()
3  .leftJoin(‘post_titles’, function () {
4  this
5      .on(‘post_titles.post_id’, ‘posts.id’)
6      .andOn(‘post_titles.lang_code’, Database.raw(’?’, [‘EN’]))
7  })
queries leading to this page
adonis join conditionadonis join condition