$union public property
This is used to construct the UNION clause(s) in a SQL statement. Each array element is an array of the following structure:
-
query
: either a string or a yii\db\Query object representing a query -
all
: boolean, whether it should beUNION ALL
orUNION
Please login to continue.