Search for union

  1. Search 7.x for union
  2. Search 9.5.x for union
  3. Search 10.3.x for union
  4. Search 11.x for union
  5. Other projects
Title Object type File name Summary
Select::$union property core/lib/Drupal/Core/Database/Query/Select.php An array whose elements specify a query to UNION, and the UNION type. The
'type' key may be '', 'ALL', or 'DISTINCT' to represent a 'UNION',
'UNION ALL', or 'UNION DISTINCT'…
Select::getUnion function core/lib/Drupal/Core/Database/Query/Select.php Returns a reference to the union queries for this query. This include
queries for UNION, UNION ALL, and UNION DISTINCT.
Select::union function core/lib/Drupal/Core/Database/Query/Select.php Add another Select query to UNION to this one.
SelectExtender::getUnion function core/lib/Drupal/Core/Database/Query/SelectExtender.php Returns a reference to the union queries for this query. This include
queries for UNION, UNION ALL, and UNION DISTINCT.
SelectExtender::union function core/lib/Drupal/Core/Database/Query/SelectExtender.php Add another Select query to UNION to this one.
SelectInterface::getUnion function core/lib/Drupal/Core/Database/Query/SelectInterface.php Returns a reference to the union queries for this query. This include
queries for UNION, UNION ALL, and UNION DISTINCT.
SelectInterface::union function core/lib/Drupal/Core/Database/Query/SelectInterface.php Add another Select query to UNION to this one.
SelectTest::testUnion function core/tests/Drupal/KernelTests/Core/Database/SelectTest.php Tests that we can UNION multiple Select queries together.
SelectTest::testUnionAll function core/tests/Drupal/KernelTests/Core/Database/SelectTest.php Tests that we can UNION ALL multiple SELECT queries together.
SelectTest::testUnionCount function core/tests/Drupal/KernelTests/Core/Database/SelectTest.php Tests that we can get a count query for a UNION Select query.
SelectTest::testUnionOrder function core/tests/Drupal/KernelTests/Core/Database/SelectTest.php Tests that we can UNION multiple Select queries together and set the ORDER.
SelectTest::testUnionOrderLimit function core/tests/Drupal/KernelTests/Core/Database/SelectTest.php Tests that we can UNION multiple Select queries together with and a LIMIT.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.