Tables::$sqlQuery

Type: \Drupal\Core\Database\Query\SelectInterface File core/lib/Drupal/Core/Entity/Query/Sql/Tables.php, line 18 Class Tables Adds tables and fields to the SQL entity query. Namespace Drupal\Core\Entity\Query\Sql Code protected $sqlQuery;

Tables::$entityManager

The entity manager. Type: \Drupal\Core\Entity\EntityManager File core/lib/Drupal/Core/Entity/Query/Sql/Tables.php, line 44 Class Tables Adds tables and fields to the SQL entity query. Namespace Drupal\Core\Entity\Query\Sql Code protected $entityManager;

Tables::addField

public Tables::addField($field, $type, $langcode) Adds a field to a database query. Parameters string $field: If it doesn't contain a dot, then an entity base field name. If it contains a dot, then either field name dot field column or field name dot delta dot field column. Delta can be a numeric value or a "%delta" for any value. string $type: Join type, can either be INNER or LEFT. string $langcode: The language code the field values are to be queried in. Return value string The return valu

Tables

Adds tables and fields to the SQL entity query. Hierarchy class \Drupal\Core\Entity\Query\Sql\Tables implements TablesInterface 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

Tables::$fieldTables

Field table array, key is table name, value is alias. This array contains one entry per field table. Type: array File core/lib/Drupal/Core/Entity/Query/Sql/Tables.php, line 37 Class Tables Adds tables and fields to the SQL entity query. Namespace Drupal\Core\Entity\Query\Sql Code protected $fieldTables = array();

Tables::$caseSensitiveFields

List of case sensitive fields. Type: array File core/lib/Drupal/Core/Entity/Query/Sql/Tables.php, line 51 Class Tables Adds tables and fields to the SQL entity query. Namespace Drupal\Core\Entity\Query\Sql Code protected $caseSensitiveFields = array();

TableMappingInterface::getFieldTableName

public TableMappingInterface::getFieldTableName($field_name) Gets the table name for a given column. Parameters string $field_name: The name of the entity field to return the column mapping for. Return value string Table name for the given field. Throws \Drupal\Core\Entity\Sql\SqlContentEntityStorageException File core/lib/Drupal/Core/Entity/Sql/TableMappingInterface.php, line 121 Class TableMappingInterface Provides a common interface for mapping field columns to SQL tables. Namespac

TableMappingInterface::getFieldNames

public TableMappingInterface::getFieldNames($table_name) Gets a list of names for entity fields stored in the specified table. The return list is contains the entity field names, not database field (i.e. column) names. To get the mapping of specific entity field to database columns use ::getColumnNames(). Parameters string $table_name: The name of the table to return the field names for. Return value string[] An array of field names for the given table. File core/lib/Drupal/Core/Entity/Sql/Ta

TableMappingInterface::getReservedColumns

public TableMappingInterface::getReservedColumns() Gets the list of columns that can not be used as field type columns. Return value array File core/lib/Drupal/Core/Entity/Sql/TableMappingInterface.php, line 94 Class TableMappingInterface Provides a common interface for mapping field columns to SQL tables. Namespace Drupal\Core\Entity\Sql Code public function getReservedColumns();

TableMappingInterface::getTableNames

public TableMappingInterface::getTableNames() Gets a list of table names for this mapping. Return value string[] An array of table names. File core/lib/Drupal/Core/Entity/Sql/TableMappingInterface.php, line 33 Class TableMappingInterface Provides a common interface for mapping field columns to SQL tables. Namespace Drupal\Core\Entity\Sql Code public function getTableNames();