Be the First One Review This Course
has() is to filter the selecting model based on a relationship. So it acts very similarly to a normal WHERE condition. If you just use has('relation') that means you only want to get the models that have at least one related model in this relation .
معارف دوت كوم
من فضلك أنتظر جاري تحميل ملفات التحميل