We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07d5ce2 commit 707c26cCopy full SHA for 707c26c
src/Query/QueryBuilder.php
@@ -515,7 +515,9 @@ public function forUpdate(ConflictResolutionMode $conflictResolutionMode = Confl
515
*
516
* <code>
517
* $qb = $conn->createQueryBuilder()
518
- * ->union('SELECT 1 AS field1');
+ * ->union('SELECT 1 AS field1')
519
+ * ->addUnion('SELECT 2 AS field1')
520
+ * ->addUnion('SELECT 3 AS field1');
521
* </code>
522
523
* @return $this
0 commit comments