Total Complexity | 5 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
5 | class Sqlite extends AbstractSGBD |
||
6 | { |
||
7 | /** |
||
8 | * {@inheritdoc} |
||
9 | * |
||
10 | * Disable all joins for update queries with sqlite |
||
11 | */ |
||
12 | protected function obtainPartsToDisable(): array |
||
13 | { |
||
14 | return [ |
||
15 | 'delete' => [], |
||
16 | 'insert' => [], |
||
17 | 'select' => [], |
||
18 | 'update' => ['join', 'joinLeft', 'joinRight'] |
||
19 | ]; |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * {@inheritdoc} |
||
24 | * |
||
25 | * Not add table name/shortcut before column name for an update query. |
||
26 | */ |
||
27 | public function columnName( |
||
42 | } |
||
43 | } |
||
44 |