BelongsToMany::getResults()

mixed getResults() Get the results of the relationship. Return Value mixed

BelongsToMany::getRelationQueryForSelfJoin()

Builder getRelationQueryForSelfJoin(Builder $query, Builder $parent, array|mixed $columns = array('*')) Add the constraints for a relationship query on the same table. Parameters Builder $query Builder $parent array|mixed $columns Return Value Builder

BelongsToMany::getRelationQuery()

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

BelongsToMany::getRelationName()

string getRelationName() Get the relationship name for the relationship. Return Value string

BelongsToMany::getRelationCountQuery()

Builder getRelationCountQuery(Builder $query, Builder $parent) Add the constraints for a relationship count query. Parameters Builder $query Builder $parent Return Value Builder

BelongsToMany::getRelationCountHash()

string getRelationCountHash() Get a relationship join table hash. Return Value string

BelongsToMany::getRelatedIds()

Collection getRelatedIds() Get all of the IDs for the related models. Return Value Collection

BelongsToMany::getRelatedFreshUpdate()

string getRelatedFreshUpdate() Get the related model's updated at column name. Return Value string

BelongsToMany::getRelated()

Model getRelated() Get the related model of the relation. Return Value Model

BelongsToMany::getQuery()

Builder getQuery() Get the underlying query for the relation. Return Value Builder