Forked from nickvergessen/gist:752b6b54eedc76c793f3
Last active
August 29, 2015 14:01
-
-
Save brunoais/e02f5724c41c94962eff to your computer and use it in GitHub Desktop.
Alternative for phpBB dbal for more explicit table joins
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
array( | |
/** ... **/ | |
'FROM' => array( | |
ONE_TABLE => '1', | |
TWO_TABLES => array('2', '3'), | |
ONE_ON_TABLE => array('4' => array('2' =>'4.case = 2.case'), | |
TWO_ON_TABLES => array( | |
'5' => array('2' => '5.case = 2.case'), | |
'6' => array('3' => '6.case = 3.case'), | |
), | |
), | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment