You can access it like Auth::user()->blogs()->blogcomments() note u should use eagler loding!
eisenmaxx said:
You can access it like Auth::user()->blogs()->blogcomments() note u should use eagler loding!
I'm getting an error when i try to run the above code: ErrorException Undefined property: Illuminate\Database\Eloquent\Relations\HasMany::$blogcomments
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community