trait CompileFilters

Methods

void
compileFilterConditions(Builder $query, bool $union, array $filters)

Compile Largo filter(s) that were requested and add them to the query

Details

at line 14
private void compileFilterConditions(Builder $query, bool $union, array $filters)

Compile Largo filter(s) that were requested and add them to the query

Parameters

Builder $query

Query to add filters to

bool $union

Whether filters are considered inclusive (OR) or exclusive (AND)

array $filters

Array of filters to add to the query in the form filterName => filterValue

Return Value

void