SupportsPartialRelations
interface SupportsPartialRelations (View source)
Methods
$this
bool
isOneOfMany()
Determine whether the relationship is a one-of-many relationship.
Builder|void
getOneOfManySubQuery()
Get the one of many inner join subselect query builder instance.
Details
$this
ofMany(string|null $column = 'id', string|Closure|null $aggregate = 'MAX', string $relation = null)
Indicate that the relation is a single result of a larger one-to-many relationship.
bool
isOneOfMany()
Determine whether the relationship is a one-of-many relationship.
Builder|void
getOneOfManySubQuery()
Get the one of many inner join subselect query builder instance.