Total Complexity | 4 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class Builder extends BaseBuilder |
||
8 | { |
||
9 | /** |
||
10 | * Replace the "order by" clause of the current query. |
||
11 | * |
||
12 | * @param string $column |
||
13 | * @param string $direction |
||
14 | * @return \Illuminate\Database\Query\Builder|static |
||
15 | */ |
||
16 | public function reOrderBy(?string $column, string $direction = 'asc'): self |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * Execute an aggregate function on the database. |
||
29 | * |
||
30 | * @param string $function |
||
31 | * @param array $columns |
||
32 | * @return mixed |
||
33 | */ |
||
34 | public function aggregate($function, $columns = ['*']) |
||
44 |