Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82279

LeftJoin with Multiple Conditions

$
0
0

Within MySQL I can do this LEFT JOIN:

LEFT JOIN table2 ON table1.myfield= table2.myfield AND table1.otherfield = table1.otherfield

Within Datatable Editor I can do this:

->leftJoin( 'table2', 'table1.myfield', '=', 'table2.myfield' )

My question is, how do I add a AND to the leftJoin?


Viewing all articles
Browse latest Browse all 82279

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>