class Tables

Adds tables and fields to the SQL entity query.

Hierarchy

File

core/lib/Drupal/Core/Entity/Query/Sql/Tables.php, line 13

Namespace

Drupal\Core\Entity\Query\Sql

Members

Name Modifiers Type Description
Tables::$caseSensitiveFields protected property List of case sensitive fields.
Tables::$entityManager protected property The entity manager.
Tables::$entityTables protected property Entity table array, key is table name, value is alias.
Tables::$fieldTables protected property Field table array, key is table name, value is alias.
Tables::$sqlQuery protected property
Tables::addField public function Adds a field to a database query. Overrides TablesInterface::addField
Tables::addJoin protected function
Tables::ensureEntityTable protected function Join entity table if necessary and return the alias for it.
Tables::ensureFieldTable protected function Join field table if necessary.
Tables::getTableMapping protected function Gets the schema for the given table.
Tables::isFieldCaseSensitive public function Determines whether the given field is case sensitive. Overrides TablesInterface::isFieldCaseSensitive
Tables::__construct public function

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!Query!Sql!Tables.php/class/Tables/8.1.x