Answers for "Laravel DB facade relations"

PHP
0

Laravel DB facade relations

$antiques = DB::table('antiques')
    ->join('images', 'images.antiques_id', '=', 'antiques.id')
    ->latest()
    ->limit(20)
    ->get(['antiques.*', 'images.path']);
Posted by: Guest on November-03-2020

Browse Popular Code Answers by Language