|
@@ 814-824 (lines=11) @@
|
| 811 |
|
/** |
| 812 |
|
* {@inheritdoc} |
| 813 |
|
*/ |
| 814 |
|
public function walkFromClause($fromClause) |
| 815 |
|
{ |
| 816 |
|
$identificationVarDecls = $fromClause->identificationVariableDeclarations; |
| 817 |
|
$sqlParts = []; |
| 818 |
|
|
| 819 |
|
foreach ($identificationVarDecls as $identificationVariableDecl) { |
| 820 |
|
$sqlParts[] = $this->walkIdentificationVariableDeclaration($identificationVariableDecl); |
| 821 |
|
} |
| 822 |
|
|
| 823 |
|
return ' FROM ' . implode(', ', $sqlParts); |
| 824 |
|
} |
| 825 |
|
|
| 826 |
|
/** |
| 827 |
|
* Walks down a IdentificationVariableDeclaration AST node, thereby generating the appropriate SQL. |
|
@@ 1491-1501 (lines=11) @@
|
| 1488 |
|
/** |
| 1489 |
|
* {@inheritdoc} |
| 1490 |
|
*/ |
| 1491 |
|
public function walkSubselectFromClause($subselectFromClause) |
| 1492 |
|
{ |
| 1493 |
|
$identificationVarDecls = $subselectFromClause->identificationVariableDeclarations; |
| 1494 |
|
$sqlParts = []; |
| 1495 |
|
|
| 1496 |
|
foreach ($identificationVarDecls as $subselectIdVarDecl) { |
| 1497 |
|
$sqlParts[] = $this->walkIdentificationVariableDeclaration($subselectIdVarDecl); |
| 1498 |
|
} |
| 1499 |
|
|
| 1500 |
|
return ' FROM ' . implode(', ', $sqlParts); |
| 1501 |
|
} |
| 1502 |
|
|
| 1503 |
|
/** |
| 1504 |
|
* {@inheritdoc} |