blob: 8ff85954fd7f7a7b43372a9eb92f163f48003238 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<?php
declare(strict_types=1);
namespace Doctrine\ORM\Query\AST;
use Doctrine\ORM\Query\SqlWalker;
/**
* Subselect ::= SimpleSelectClause SubselectFromClause [WhereClause] [GroupByClause] [HavingClause] [OrderByClause]
*
* @link www.doctrine-project.org
*/
class Subselect extends Node
{
public WhereClause|null $whereClause = null;
public GroupByClause|null $groupByClause = null;
public HavingClause|null $havingClause = null;
public OrderByClause|null $orderByClause = null;
public function __construct(public SimpleSelectClause $simpleSelectClause, public SubselectFromClause $subselectFromClause)
{
}
public function dispatch(SqlWalker $walker): string
{
return $walker->walkSubselect($this);
}
}
|