Total Complexity | 4 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
15 | class QueryBuilder extends GenericQueryBuilder |
||
16 | { |
||
17 | /** |
||
18 | * @return Select |
||
19 | */ |
||
20 | 1 | public function select(IColumn|string ...$columns): Select |
|
21 | { |
||
22 | 1 | return new Select(...$columns); |
|
23 | } |
||
24 | |||
25 | /** |
||
26 | * @return Insert |
||
27 | */ |
||
28 | 1 | public function insert(): Insert |
|
29 | { |
||
30 | 1 | return new Insert(); |
|
31 | } |
||
32 | |||
33 | /** |
||
34 | * @param Table|string ...$tables |
||
35 | * |
||
36 | * @return Update |
||
37 | */ |
||
38 | 1 | public function update(Table|string ...$tables): Update |
|
39 | { |
||
40 | 1 | return new Update(...$tables); |
|
41 | } |
||
42 | |||
43 | /** |
||
44 | * @return Delete |
||
45 | */ |
||
46 | 1 | public function delete(): Delete |
|
49 | } |
||
50 | } |
||
51 |