manhcuong2903

Results 2 comments of manhcuong2903

i have a problem with relation hasMany public function posts(){ return $this->hasMany(Post::class,'LINKID','USERID'); } when i run this code it return me LINKID = null $user->posts()->saveMany($data); @yajra

@jokeronaldo it's not a good performance for your query if you don't use relation