From.php
4 years ago
Having.php
4 years ago
Join.php
4 years ago
JoinCondition.php
4 years ago
MetaTable.php
4 years ago
OrderBy.php
4 years ago
RawSQL.php
4 years ago
Select.php
4 years ago
Union.php
4 years ago
Where.php
4 years ago
Union.php
32 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Give\Framework\QueryBuilder\Clauses; |
| 4 | |
| 5 | use Give\Framework\QueryBuilder\QueryBuilder; |
| 6 | |
| 7 | /** |
| 8 | * @since 2.19.0 |
| 9 | */ |
| 10 | class Union |
| 11 | { |
| 12 | /** |
| 13 | * @var QueryBuilder |
| 14 | */ |
| 15 | public $builder; |
| 16 | |
| 17 | /** |
| 18 | * @var bool |
| 19 | */ |
| 20 | public $all = false; |
| 21 | |
| 22 | /** |
| 23 | * @param QueryBuilder $builder |
| 24 | * @param bool $all |
| 25 | */ |
| 26 | public function __construct($builder, $all = false) |
| 27 | { |
| 28 | $this->builder = $builder; |
| 29 | $this->all = $all; |
| 30 | } |
| 31 | } |
| 32 |