lib/Doctrine/ORM/Query/SqlWalker.php
public function walkIdentificationVariableDeclaration($identificationVariableDecl)
    {
        $sql = $this->walkRangeVariableDeclaration($identificationVariableDecl->rangeVariableDeclaration);

        if ($identificationVariableDecl->indexBy) {
            $this->walkIndexBy($identificationVariableDecl->indexBy);
        }

        foreach ($identificationVariableDecl->joins as $join) {
            $sql .= $this->walkJoin($join);
        }

        return $sql;
    }
public function walkIdentificationVariableDeclaration($identificationVariableDecl)
    {
        $sql = $this->walkRangeVariableDeclaration($identificationVariableDecl->rangeVariableDeclaration);

        if ($identificationVariableDecl->indexBy) {
            $this->walkIndexBy($identificationVariableDecl->indexBy);
        }

        foreach ($identificationVariableDecl->joins as $join) {
            $sql .= $this->walkJoin($join);
        }

        return $sql;
    }
public function walkIdentificationVariableDeclaration ( $ identificationVariableDecl ) { $ sql = $ this -> walkRangeVariableDeclaration ( $ identificationVariableDecl -> rangeVariableDeclaration ) ; if ( $ identificationVariableDecl -> indexBy ) { $ this -> walkIndexBy ( $ identificationVariableDecl -> indexBy ) ; } foreach ( $ identificationVariableDecl -> joins as $ join ) { $ sql .= $ this -> walkJoin ( $ join ) ; } return $ sql ; }
Walks down a IdentificationVariableDeclaration AST node, thereby generating the appropriate SQL.

@param AST\IdentificationVariableDeclaration $identificationVariableDecl

@return string
Walks down a IdentificationVariableDeclaration AST node thereby generating the appropriate SQL .