protected property SelectQuery::$tables

  1. cis7 includes/database/select.inc SelectQuery::tables
  2. cle7 includes/database/select.inc SelectQuery::tables
  3. elmsmedia7 includes/database/select.inc SelectQuery::tables
  4. icor7 includes/database/select.inc SelectQuery::tables
  5. meedjum_blog7 includes/database/select.inc SelectQuery::tables
  6. mooc7 includes/database/select.inc SelectQuery::tables

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 SelectQuery object, it is taken as a subquery.

Type: array

File

includes/database/select.inc, line 895

Class

SelectQuery
Query builder for SELECT statements.

Code

protected $tables = array();