Builder getRelationCountQuery(Builder $query, Builder $parent) Add the constraints for a relationship count query. Parameters Builder $query Builder $parent Return Value Builder
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
Model getParent() Get the parent model of the relation. Return Value Model
string getHasCompareKey() Get the key for comparing against the parent key in "has" query. Return Value string
string getForeignKey() Get the qualified foreign key on the related model. Return Value string
Collection getEager() Get the relationship for eager loading. Return Value Collection
Builder getBaseQuery() Get the base query builder driving the Eloquent builder. Return Value Builder
Collection get(array $columns = array('*')) Execute the query as a "select" statement. Parameters array $columns Return Value Collection
Page 604 of 996