PHP Класс Baum\Extensions\Query\Builder

Наследование: extends Illuminate\Database\Query\Builder
Показать файл Открыть проект

Открытые методы

Метод Описание
aggregate ( string $function, array $columns = ['*'] ) : mixed Execute an aggregate function on the database.
reOrderBy ( string $column, string $direction = 'asc' ) : Builder | static Replace the "order by" clause of the current query.

Описание методов

aggregate() публичный Метод

Execute an aggregate function on the database.
public aggregate ( string $function, array $columns = ['*'] ) : mixed
$function string
$columns array
Результат mixed

reOrderBy() публичный Метод

Replace the "order by" clause of the current query.
public reOrderBy ( string $column, string $direction = 'asc' ) : Builder | static
$column string
$direction string
Результат Illuminate\Database\Query\Builder | static