@@ -93,15 +93,15 @@ |
||
| 93 | 93 | */ |
| 94 | 94 | public function build() |
| 95 | 95 | { |
| 96 | - $ret = 'REPLACE ' . $this->options |
|
| 97 | - . ' INTO ' . $this->into; |
|
| 96 | + $ret = 'REPLACE '.$this->options |
|
| 97 | + . ' INTO '.$this->into; |
|
| 98 | 98 | |
| 99 | 99 | if ($this->values != NULL && count($this->values) > 0) { |
| 100 | - $ret .= ' VALUES ' . Array2d::build($this->values); |
|
| 100 | + $ret .= ' VALUES '.Array2d::build($this->values); |
|
| 101 | 101 | } elseif ($this->set != NULL && count($this->set) > 0) { |
| 102 | - $ret .= ' SET ' . SetOperation::build($this->set); |
|
| 102 | + $ret .= ' SET '.SetOperation::build($this->set); |
|
| 103 | 103 | } elseif ($this->select != NULL && count($this->select) > 0) { |
| 104 | - $ret .= ' ' . $this->select->build(); |
|
| 104 | + $ret .= ' '.$this->select->build(); |
|
| 105 | 105 | } |
| 106 | 106 | |
| 107 | 107 | return $ret; |