|
@@ 137-139 (lines=3) @@
|
| 134 |
|
{ |
| 135 |
|
$ret = 'DELETE ' . OptionsArray::build($this->options); |
| 136 |
|
|
| 137 |
|
if ($this->columns != null && count($this->columns) > 0) { |
| 138 |
|
$ret .= ' ' . ExpressionArray::build($this->columns); |
| 139 |
|
} |
| 140 |
|
if ($this->from != null && count($this->from) > 0) { |
| 141 |
|
$ret .= ' FROM ' . ExpressionArray::build($this->from); |
| 142 |
|
} |
|
@@ 140-142 (lines=3) @@
|
| 137 |
|
if ($this->columns != null && count($this->columns) > 0) { |
| 138 |
|
$ret .= ' ' . ExpressionArray::build($this->columns); |
| 139 |
|
} |
| 140 |
|
if ($this->from != null && count($this->from) > 0) { |
| 141 |
|
$ret .= ' FROM ' . ExpressionArray::build($this->from); |
| 142 |
|
} |
| 143 |
|
if ($this->using != null && count($this->using) > 0) { |
| 144 |
|
$ret .= ' USING ' . ExpressionArray::build($this->using); |
| 145 |
|
} |
|
@@ 143-145 (lines=3) @@
|
| 140 |
|
if ($this->from != null && count($this->from) > 0) { |
| 141 |
|
$ret .= ' FROM ' . ExpressionArray::build($this->from); |
| 142 |
|
} |
| 143 |
|
if ($this->using != null && count($this->using) > 0) { |
| 144 |
|
$ret .= ' USING ' . ExpressionArray::build($this->using); |
| 145 |
|
} |
| 146 |
|
if ($this->where != null && count($this->where) > 0) { |
| 147 |
|
$ret .= ' WHERE ' . Condition::build($this->where); |
| 148 |
|
} |
|
@@ 149-151 (lines=3) @@
|
| 146 |
|
if ($this->where != null && count($this->where) > 0) { |
| 147 |
|
$ret .= ' WHERE ' . Condition::build($this->where); |
| 148 |
|
} |
| 149 |
|
if ($this->order != null && count($this->order) > 0) { |
| 150 |
|
$ret .= ' ORDER BY ' . ExpressionArray::build($this->order); |
| 151 |
|
} |
| 152 |
|
if ($this->limit != null && strlen($this->limit) > 0) { |
| 153 |
|
$ret .= ' LIMIT ' . Limit::build($this->limit); |
| 154 |
|
} |