W3cubDocs

/Drupal 8

protected property 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\Sql

Code

protected $connection;

© 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/property/QueryFactory::connection/8.1.x