|
@@ 824-834 (lines=11) @@
|
| 821 |
|
/** |
| 822 |
|
* {@inheritdoc} |
| 823 |
|
*/ |
| 824 |
|
public function walkFromClause($fromClause) |
| 825 |
|
{ |
| 826 |
|
$identificationVarDecls = $fromClause->identificationVariableDeclarations; |
| 827 |
|
$sqlParts = []; |
| 828 |
|
|
| 829 |
|
foreach ($identificationVarDecls as $identificationVariableDecl) { |
| 830 |
|
$sqlParts[] = $this->walkIdentificationVariableDeclaration($identificationVariableDecl); |
| 831 |
|
} |
| 832 |
|
|
| 833 |
|
return ' FROM ' . implode(', ', $sqlParts); |
| 834 |
|
} |
| 835 |
|
|
| 836 |
|
/** |
| 837 |
|
* Walks down a IdentificationVariableDeclaration AST node, thereby generating the appropriate SQL. |
|
@@ 1483-1493 (lines=11) @@
|
| 1480 |
|
/** |
| 1481 |
|
* {@inheritdoc} |
| 1482 |
|
*/ |
| 1483 |
|
public function walkSubselectFromClause($subselectFromClause) |
| 1484 |
|
{ |
| 1485 |
|
$identificationVarDecls = $subselectFromClause->identificationVariableDeclarations; |
| 1486 |
|
$sqlParts = []; |
| 1487 |
|
|
| 1488 |
|
foreach ($identificationVarDecls as $subselectIdVarDecl) { |
| 1489 |
|
$sqlParts[] = $this->walkIdentificationVariableDeclaration($subselectIdVarDecl); |
| 1490 |
|
} |
| 1491 |
|
|
| 1492 |
|
return ' FROM ' . implode(', ', $sqlParts); |
| 1493 |
|
} |
| 1494 |
|
|
| 1495 |
|
/** |
| 1496 |
|
* {@inheritdoc} |