Total Complexity | 4 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
15 | trait OnConflictTrait{ |
||
16 | |||
17 | protected string $name; |
||
18 | protected ?string $on_conflict = null; |
||
19 | protected ?string $conflict_target = null; |
||
20 | |||
21 | /** |
||
22 | * @param string $name |
||
23 | * @param string|null $on_conflict |
||
24 | * @param string|null $conflict_target |
||
25 | * |
||
26 | * @return $this |
||
27 | * @throws \chillerlan\Database\Query\QueryException |
||
28 | */ |
||
29 | public function name(string $name, string $on_conflict = null, string $conflict_target = null):Statement{ |
||
50 |