在 laravel 集合对象中添加新元素
我想在数组中添加新元素,由于某些原因,我不想使用连接。$items
$items = DB::select(DB::raw('SELECT * FROM items WHERE items.id = '.$id.'  ;'));
        foreach($items as $item){
            $product = DB::select(DB::raw(' select * from product
                   where product_id = '. $id.';' ));
            $item->push($product);
        }
我该怎么办?