Search for orderBy

  1. Search 7.x for orderBy
  2. Search 9.5.x for orderBy
  3. Search 8.9.x for orderBy
  4. Search 10.3.x for orderBy
  5. Other projects
Title Object type File name Summary
OrderByTest class core/tests/Drupal/Tests/Core/Database/OrderByTest.php Tests the orderBy() method of select queries.
OrderByTest.php file core/tests/Drupal/Tests/Core/Database/OrderByTest.php
OrderByTest::$query property core/tests/Drupal/Tests/Core/Database/OrderByTest.php The select query object to test.
OrderByTest::setUp function core/tests/Drupal/Tests/Core/Database/OrderByTest.php
OrderByTest::testFieldEscaping function core/tests/Drupal/Tests/Core/Database/OrderByTest.php Tests that fields passed for ordering get escaped properly.
OrderByTest::testInvalidDirection function core/tests/Drupal/Tests/Core/Database/OrderByTest.php Checks that invalid sort directions in ORDER BY get converted to ASC.
QueryTest::$orderBy property core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/QueryTest.php
QueryTest::addOrderBy function core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/QueryTest.php
Select::getOrderBy function core/lib/Drupal/Core/Database/Query/Select.php Returns a reference to the order by array for this query.
Select::orderBy function core/modules/pgsql/src/Driver/Database/pgsql/Select.php Overrides SelectQuery::orderBy().
Select::orderBy function core/lib/Drupal/Core/Database/Query/Select.php Orders the result set by a given field.
SelectExtender::getOrderBy function core/lib/Drupal/Core/Database/Query/SelectExtender.php Returns a reference to the order by array for this query.
SelectExtender::orderBy function core/lib/Drupal/Core/Database/Query/SelectExtender.php Orders the result set by a given field.
SelectInterface::getOrderBy function core/lib/Drupal/Core/Database/Query/SelectInterface.php Returns a reference to the order by array for this query.
SelectInterface::orderBy function core/lib/Drupal/Core/Database/Query/SelectInterface.php Orders the result set by a given field.
SequenceDataDefinition::getOrderBy function core/lib/Drupal/Core/Config/Schema/SequenceDataDefinition.php Gets the description of how the sequence should be sorted.
Sql::$orderby property core/modules/views/src/Plugin/views/query/Sql.php A simple array of order by clauses.
Sql::addOrderBy function core/modules/views/src/Plugin/views/query/Sql.php Add an ORDER BY clause to the query.
TableSortExtender::orderByHeader function core/lib/Drupal/Core/Database/Query/TableSortExtender.php Order the query based on a header array.

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