You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What I want to do is, accessing the related table through a member of the original table (not through a mapping table with HasManyThrough()). So the layout looks like this:
Hello, I know the way how to use hasMany() if there is a database relation like
Accessing it, would look like this.
What I want to do is, accessing the related table through a member of the original table (not through a mapping table with HasManyThrough()). So the layout looks like this:
Is this possible?
So the final target is to access the relation through the common
public static function relations()
method in the Entity class.The text was updated successfully, but these errors were encountered: