Total Complexity | 8 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | trait WhereBuilder { |
||
9 | use AbstractDB; |
||
10 | |||
11 | /** @var array<int, mixed> */ |
||
12 | private $where = []; |
||
13 | |||
14 | /** |
||
15 | * @param string|array|OptionalExpression $expression |
||
16 | * @param array<int, mixed> $args |
||
17 | * @return $this |
||
18 | */ |
||
19 | public function where($expression, ...$args) { |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * @param string $query |
||
39 | * @return string |
||
40 | */ |
||
41 | protected function buildWhereConditions($query) { |
||
45 |