Factory class creating entity query objects for the SQL backend.
\Drupal\Core\Entity\Query\Sql\Query
\Drupal\Core\Entity\Query\Sql\QueryAggregate
Name | Modifiers | Type | Description |
---|---|---|---|
QueryFactory::$connection | protected | property | The database connection to use. |
QueryFactory::$namespaces | protected | property | The namespace of this class, the parent class etc. |
QueryFactory::get | public | function | Instantiates an entity query for a given entity type. Overrides QueryFactoryInterface::get |
QueryFactory::getAggregate | public | function | Instantiates an aggregation query object for a given entity type. Overrides QueryFactoryInterface::getAggregate |
QueryFactory::__construct | public | function | Constructs a QueryFactory object. |
© 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!QueryFactory.php/class/QueryFactory/8.1.x