|
@@ 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. |
|
@@ 1473-1483 (lines=11) @@
|
| 1470 |
|
/** |
| 1471 |
|
* {@inheritdoc} |
| 1472 |
|
*/ |
| 1473 |
|
public function walkSubselectFromClause($subselectFromClause) |
| 1474 |
|
{ |
| 1475 |
|
$identificationVarDecls = $subselectFromClause->identificationVariableDeclarations; |
| 1476 |
|
$sqlParts = []; |
| 1477 |
|
|
| 1478 |
|
foreach ($identificationVarDecls as $subselectIdVarDecl) { |
| 1479 |
|
$sqlParts[] = $this->walkIdentificationVariableDeclaration($subselectIdVarDecl); |
| 1480 |
|
} |
| 1481 |
|
|
| 1482 |
|
return ' FROM ' . implode(', ', $sqlParts); |
| 1483 |
|
} |
| 1484 |
|
|
| 1485 |
|
/** |
| 1486 |
|
* {@inheritdoc} |