trait InteractsWithTableQuery (View source)

Methods

Relation
applyRelationshipAggregates(Relation $query)

No description

Relation
applyEagerLoading(Relation $query)

No description

Builder
applySearchConstraint(Builder $query, string $search, bool $isFirst, bool $isIndividual = false)

No description

Builder
applySort(Builder $query, string $direction = 'asc')

No description

bool
queriesRelationships(Model $record)

No description

Relation|null
getRelationship(Model $record)

No description

string
string
getRelationshipName()

No description

Details

Relation applyRelationshipAggregates(Relation $query)

No description

Parameters

Relation $query

Return Value

Relation

Relation applyEagerLoading(Relation $query)

No description

Parameters

Relation $query

Return Value

Relation

Builder applySearchConstraint(Builder $query, string $search, bool $isFirst, bool $isIndividual = false)

No description

Parameters

Builder $query
string $search
bool $isFirst
bool $isIndividual

Return Value

Builder

Builder applySort(Builder $query, string $direction = 'asc')

No description

Parameters

Builder $query
string $direction

Return Value

Builder

bool queriesRelationships(Model $record)

No description

Parameters

Model $record

Return Value

bool

Relation|null getRelationship(Model $record)

No description

Parameters

Model $record

Return Value

Relation|null

string getRelationshipTitleColumnName()

No description

Return Value

string

string getRelationshipName()

No description

Return Value

string