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)

No description

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

No description

Builder
getSortColumnForQuery(Builder $query, string $sortColumn, array|null $relationships = null)

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)

No description

Parameters

Builder $query
string $search
bool $isFirst

Return Value

Builder

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

No description

Parameters

Builder $query
string $direction

Return Value

Builder

protected Builder getSortColumnForQuery(Builder $query, string $sortColumn, array|null $relationships = null)

No description

Parameters

Builder $query
string $sortColumn
array|null $relationships

Return Value

Builder