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