ÿØÿà JFIF ÿÛ „ ( %!1!%*+...983,7(-.-
File manager
File manager - Edit - /home/trueinxa/truelove4seniors.org/wp-content/plugins/give/src/Framework/QueryBuilder/Concerns/UnionOperator.php
Back
<?php namespace Give\Framework\QueryBuilder\Concerns; use Give\Framework\QueryBuilder\Clauses\Union; use Give\Framework\QueryBuilder\QueryBuilder; /** * @since 2.19.0 */ trait UnionOperator { /** * @var int */ protected $unions = []; /** * @param QueryBuilder $union * * @return $this */ public function union(...$union) { $this->unions = array_map(function (QueryBuilder $builder) { return new Union($builder); }, $union); return $this; } /** * @param QueryBuilder $union * * @return $this */ public function unionAll(...$union) { $this->unions = array_map(function (QueryBuilder $builder) { return new Union($builder, true); }, $union); return $this; } /** * @return array|string[] */ protected function getUnionSQL() { if (empty($this->unions)) { return []; } return array_map(function (Union $union) { return ( $union->all ? 'UNION ALL ' : 'UNION ' ) . $union->builder->getSQL(); }, $this->unions); } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 2.13 |
proxy
|
phpinfo
|
Settings