Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel join 2 tables eloquent

 $select->joinSub(
                    $selectSubQry,
                    'ag',
                    'ag.id',
                    '=',
                    'agp.userId'
                );
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #join #tables #eloquent
ADD COMMENT
Topic
Name
9+6 =