1 | <?php |
||
2 | |||
3 | namespace Nip\Database\Query; |
||
4 | |||
5 | /** |
||
6 | * Class Replace |
||
7 | * @package Nip\Database\Query |
||
8 | */ |
||
9 | class Replace extends Insert |
||
10 | { |
||
11 | /** |
||
12 | * @return string |
||
13 | */ |
||
14 | public function assemble() |
||
15 | { |
||
16 | $query = 'REPLACE INTO ' . $this->protect($this->getTable()) . $this->parseCols() . $this->parseValues(); |
||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||
17 | |||
18 | return $query; |
||
19 | } |
||
20 | } |
||
21 |