QueryFactory::$connection
Same name in other branches
- 9 core/lib/Drupal/Core/Entity/Query/Sql/QueryFactory.php \Drupal\Core\Entity\Query\Sql\QueryFactory::connection
- 8.9.x core/lib/Drupal/Core/Entity/Query/Sql/QueryFactory.php \Drupal\Core\Entity\Query\Sql\QueryFactory::connection
- 11.x core/lib/Drupal/Core/Entity/Query/Sql/QueryFactory.php \Drupal\Core\Entity\Query\Sql\QueryFactory::connection
The database connection to use.
Type: \Drupal\Core\Database\Connection
File
-
core/
lib/ Drupal/ Core/ Entity/ Query/ Sql/ QueryFactory.php, line 23
Class
- QueryFactory
- Factory class creating entity query objects for the SQL backend.
Namespace
Drupal\Core\Entity\Query\SqlCode
protected $connection;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.