Hello @jacquesjengelbrecht your models can have many to many relations to different objects. But I don't understand what your question is.
Do you want to know how to get all the surveys for a user? Or something else?
I can get it, but surveys is specific to business which is specific to a user
To get your end result you can use the hasManyThrough
relationship.
The link to the official documentation is Has Many Through
alirasouliwebdeveloper liked this reply
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community