union() public method
Appends a SQL statement using UNION operator.
| public $this union ( $sql, $all = false ) | ||
|---|---|---|
| $sql | string|yii\db\Query |
The SQL statement to be appended using UNION |
| $all | boolean |
TRUE if using UNION ALL and FALSE if using UNION |
| return | $this |
The query object itself |
Please login to continue.