PHP 클래스 Baum\Extensions\Query\Builder

상속: extends Illuminate\Database\Query\Builder
파일 보기 프로젝트 열기: gazsp/baum

공개 메소드들

메소드 설명
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