Builder getRelationQuery(Builder $query, Builder $parent, array|mixed $columns = array('*')) Add the constraints for a relationship query. Parameters Builder $query Builder $parent array|mixed $columns Return Value Builder
Builder getRelationCountQuery(Builder $query, Builder $parent) Add the constraints for a relationship count query. Parameters Builder $query Builder $parent Return Value Builder
string getRelationCountHash() Get a relationship join table hash. Return Value string
string getRelation() Get the name of the relationship. Return Value string
Model getRelated() Get the related model of the relation. Return Value Model
Builder getQuery() Get the underlying query for the relation. Return Value Builder
string getQualifiedParentKeyName() Get the fully qualified parent key name. Return Value string
string getQualifiedOtherKeyName() Get the fully qualified associated key of the relationship. Return Value string
string getQualifiedForeignKey() Get the fully qualified foreign key of the relationship. Return Value string
Model getParent() Get the parent model of the relation. Return Value Model
Page 935 of 996