| Total Complexity | 3 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 88.89% |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class DeleteQuery extends Query |
||
| 13 | { |
||
| 14 | use Conditions; |
||
| 15 | |||
| 16 | protected Table $table; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @param $table Table from which to DELETE |
||
| 20 | * @param $types |
||
| 21 | */ |
||
| 22 | 1 | public function __construct(Table $table, TypeProvider $types) |
|
| 23 | { |
||
| 24 | 1 | parent::__construct($types); |
|
| 25 | |||
| 26 | 1 | $this->table = $table; |
|
| 27 | } |
||
| 28 | |||
| 29 | 1 | public function getSQL(): string |
|
| 38 | } |
||
| 39 | } |
||
| 40 |