Search for orderBy

  1. Search 9.5.x for orderBy
  2. Search 8.9.x for orderBy
  3. Search 10.3.x for orderBy
  4. Search 11.x for orderBy
  5. Other projects
Title Object type File name Summary
DatabaseSelectOrderedTestCase::testOrderByEscaping function modules/simpletest/tests/database_test.test Tests that the sort direction is sanitized properly.
EntityFieldQuery::entityOrderBy function includes/entity.inc Orders the result set by entity-generic metadata.
EntityFieldQuery::fieldOrderBy function includes/entity.inc Orders the result set by a given field column.
EntityFieldQuery::propertyOrderBy function includes/entity.inc Orders the result set by an entity-specific property.
SelectQuery::getOrderBy function includes/database/select.inc Returns a reference to the order by array for this query.
SelectQuery::orderBy function includes/database/select.inc Orders the result set by a given field.
SelectQueryExtender::getOrderBy function includes/database/select.inc Returns a reference to the order by array for this query.
SelectQueryExtender::orderBy function includes/database/select.inc Orders the result set by a given field.
SelectQueryInterface::getOrderBy function includes/database/select.inc Returns a reference to the order by array for this query.
SelectQueryInterface::orderBy function includes/database/select.inc Orders the result set by a given field.
SelectQuery_pgsql::orderBy function includes/database/pgsql/select.inc Overrides SelectQuery::orderBy().
TableSort::orderByHeader function includes/tablesort.inc 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.