Redis – SQLSTATE[42S22]: Column not found in Laravel
Hello Following is my query, but I get error while run it: $out_let_product = OutLet::where('id', Redis::get('out_let_id') )->with( ['products' => function($query){ $query->with(['prices', 'combinations' => function($query){ $query->where('prices.active', '=', '1'); }]); }])->get(); In above code 'prices' and 'combinations' = function in product model.…