|
@@ 123-125 (lines=3) @@
|
| 120 |
|
{ |
| 121 |
|
$ret = 'DELETE ' . OptionsArray::build($this->options); |
| 122 |
|
|
| 123 |
|
if ($this->columns != NULL && count($this->columns) > 0) { |
| 124 |
|
$ret .= ' ' . ExpressionArray::build($this->columns); |
| 125 |
|
} |
| 126 |
|
if ($this->from != NULL && count($this->from) > 0) { |
| 127 |
|
$ret .= ' FROM ' . ExpressionArray::build($this->from); |
| 128 |
|
} |
|
@@ 126-128 (lines=3) @@
|
| 123 |
|
if ($this->columns != NULL && count($this->columns) > 0) { |
| 124 |
|
$ret .= ' ' . ExpressionArray::build($this->columns); |
| 125 |
|
} |
| 126 |
|
if ($this->from != NULL && count($this->from) > 0) { |
| 127 |
|
$ret .= ' FROM ' . ExpressionArray::build($this->from); |
| 128 |
|
} |
| 129 |
|
if ($this->using != NULL && count($this->using) > 0) { |
| 130 |
|
$ret .= ' USING ' . ExpressionArray::build($this->using); |
| 131 |
|
} |
|
@@ 129-131 (lines=3) @@
|
| 126 |
|
if ($this->from != NULL && count($this->from) > 0) { |
| 127 |
|
$ret .= ' FROM ' . ExpressionArray::build($this->from); |
| 128 |
|
} |
| 129 |
|
if ($this->using != NULL && count($this->using) > 0) { |
| 130 |
|
$ret .= ' USING ' . ExpressionArray::build($this->using); |
| 131 |
|
} |
| 132 |
|
if ($this->where != NULL && count($this->where) > 0) { |
| 133 |
|
$ret .= ' WHERE ' . Condition::build($this->where); |
| 134 |
|
} |
|
@@ 135-137 (lines=3) @@
|
| 132 |
|
if ($this->where != NULL && count($this->where) > 0) { |
| 133 |
|
$ret .= ' WHERE ' . Condition::build($this->where); |
| 134 |
|
} |
| 135 |
|
if ($this->order != NULL && count($this->order) > 0) { |
| 136 |
|
$ret .= ' ORDER BY ' . ExpressionArray::build($this->order); |
| 137 |
|
} |
| 138 |
|
if ($this->limit != NULL && count($this->limit) > 0) { |
| 139 |
|
$ret .= ' LIMIT ' . Limit::build($this->limit); |
| 140 |
|
} |