Bad Practise
لأداء أفضل إستخدام join عوضا عن whereHas
Bad Practice Example class Transaction extends Model { public function category() { return $this->belongsTo(Category::class); } } class Category extends Model { public function…
اقرأ المقال