| @@ 199-202 (lines=4) @@ | ||
| 196 | if ($this->alias) { |
|
| 197 | $sql .= ' AS '.NodeFactory::escapeDBItem($this->alias, $dbConnection); |
|
| 198 | } |
|
| 199 | if ($this->refClause) { |
|
| 200 | $sql .= ' ON '; |
|
| 201 | $sql .= NodeFactory::toSql($this->refClause, $dbConnection, $parameters, ' ', true, $indent, $conditionsMode); |
|
| 202 | } |
|
| 203 | ||
| 204 | return $sql; |
|
| 205 | } |
|
| @@ 183-186 (lines=4) @@ | ||
| 180 | if ($this->alias) { |
|
| 181 | $sql .= ' AS '.NodeFactory::escapeDBItem($this->alias, $dbConnection); |
|
| 182 | } |
|
| 183 | if ($this->refClause) { |
|
| 184 | $sql .= ' ON '; |
|
| 185 | $sql .= NodeFactory::toSql($this->refClause, $dbConnection, $parameters, ' ', true, $indent, $conditionsMode); |
|
| 186 | } |
|
| 187 | ||
| 188 | return $sql; |
|
| 189 | } |
|
| @@ 312-314 (lines=3) @@ | ||
| 309 | $sql .= implode(' ', $this->options)."\n"; |
|
| 310 | } |
|
| 311 | ||
| 312 | if (!empty($this->columns)) { |
|
| 313 | $sql .= NodeFactory::toSql($this->columns, $dbConnection, $parameters, ',', false, $indent + 2, $conditionsMode); |
|
| 314 | } |
|
| 315 | ||
| 316 | if (!empty($this->from)) { |
|
| 317 | $from = NodeFactory::toSql($this->from, $dbConnection, $parameters, ' ', false, $indent + 2, $conditionsMode); |
|