Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel join 2 tables eloquent

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