Hello guys, if you want me to make more videos like this then please consider supporting this channel by giving a "Super Thanks". You can check the description for other ways of supporting this channel. And thank you so much from the bottom of my heart to those who have supported this channel ❤.
Thanks for good vedio I learnt lot My question is public function subModel() { return $this->hasMany(subModel::class,'array of ids like [1,2]','id'); }