Skip to content
Snippets Groups Projects
Select Git revision
  • efa8b042c9589a5659d373bee0394483e649ed80
  • 11.x default protected
  • 11.2.x protected
  • 10.5.x protected
  • 10.6.x protected
  • 11.1.x protected
  • 10.4.x protected
  • 11.0.x protected
  • 10.3.x protected
  • 7.x protected
  • 10.2.x protected
  • 10.1.x protected
  • 9.5.x protected
  • 10.0.x protected
  • 9.4.x protected
  • 9.3.x protected
  • 9.2.x protected
  • 9.1.x protected
  • 8.9.x protected
  • 9.0.x protected
  • 8.8.x protected
  • 10.5.1 protected
  • 11.2.2 protected
  • 11.2.1 protected
  • 11.2.0 protected
  • 10.5.0 protected
  • 11.2.0-rc2 protected
  • 10.5.0-rc1 protected
  • 11.2.0-rc1 protected
  • 10.4.8 protected
  • 11.1.8 protected
  • 10.5.0-beta1 protected
  • 11.2.0-beta1 protected
  • 11.2.0-alpha1 protected
  • 10.4.7 protected
  • 11.1.7 protected
  • 10.4.6 protected
  • 11.1.6 protected
  • 10.3.14 protected
  • 10.4.5 protected
  • 11.0.13 protected
41 results

path.module

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Select.php 21.07 KiB
    <?php
    
    /**
     * @file
     * Definition of Drupal\Core\Database\Query\Select
     */
    
    namespace Drupal\Core\Database\Query;
    
    use Drupal\Core\Database\Database;
    use Drupal\Core\Database\Connection;
    
    
    /**
     * Query builder for SELECT statements.
     */
    class Select extends Query implements SelectInterface {
    
      /**
       * The fields to SELECT.
       *
       * @var array
       */
      protected $fields = array();
    
      /**
       * The expressions to SELECT as virtual fields.
       *
       * @var array
       */
      protected $expressions = array();
    
      /**
       * The tables against which to JOIN.
       *
       * This property is a nested array. Each entry is an array representing
       * a single table against which to join. The structure of each entry is:
       *
       * array(
       *   'type' => $join_type (one of INNER, LEFT OUTER, RIGHT OUTER),
       *   'table' => $table,
       *   'alias' => $alias_of_the_table,
       *   'condition' => $condition_clause_on_which_to_join,
       *   'arguments' => $array_of_arguments_for_placeholders_in_the condition.
       *   'all_fields' => TRUE to SELECT $alias.*, FALSE or NULL otherwise.
       * )
       *
       * If $table is a string, it is taken as the name of a table. If it is
       * a Select query object, it is taken as a subquery.
       *
       * @var array
       */
      protected $tables = array();
    
      /**
       * The fields by which to order this query.
       *
       * This is an associative array. The keys are the fields to order, and the value
       * is the direction to order, either ASC or DESC.
       *
       * @var array
       */
      protected $order = array();
    
      /**
       * The fields by which to group.
       *
       * @var array
       */
      protected $group = array();