Query::getTables

public Query::getTables(SelectInterface $sql_query)

Gets the Tables object for this query.

Parameters

\Drupal\Core\Database\Query\SelectInterface $sql_query: The SQL query object being built.

Return value

\Drupal\Core\Entity\Query\Sql\TablesInterface The object that adds tables and fields to the SQL query object.

File

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

Class

Query
The SQL storage entity query class.

Namespace

Drupal\Core\Entity\Query\Sql

Code

public function getTables(SelectInterface $sql_query) {
  $class = static::getClass($this->namespaces, 'Tables');
  return new $class($sql_query);
}
doc_Drupal
2016-10-29 09:35:25
Comments
Leave a Comment

Please login to continue.