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 getOtherKey() Get the fully qualified "other key" for the relation. Return Value string
string getHasCompareKey() Get the key for comparing against the parent key in "has" query. Return Value string
string getForeignKey() Get the fully qualified foreign key for the relation. 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
Model firstOrNew(array $attributes) Get the first related model record matching the attributes or instantiate it. Parameters array $attributes Return Value Model
Model|BelongsToMany firstOrFail(array $columns = array('*')) Execute the query and get the first result or throw an exception. Parameters array $columns Return Value Model|BelongsToMany Exceptions ModelNotFoundException
Page 931 of 996