3 namespace Drupal\Core\Entity\Query\Sql\pgsql;
5 use Drupal\Core\Entity\Query\Sql\QueryFactory as BaseQueryFactory;
8 * PostgreSQL specific entity query implementation.
10 * To add a new query implementation extending the default SQL one, add
11 * a service definition like pgsql.entity.query.sql and a factory class like
12 * this. The system will automatically find the relevant Query, QueryAggregate,
13 * Condition, ConditionAggregate, Tables classes in this namespace, in the
14 * namespace of the parent class and so on. So after creating an empty query
15 * factory class like this, it is possible to just drop in a class extending
16 * the base class in this namespace and it will be used automatically but it
17 * is optional: if a class is not extended the relevant default is used.
19 * @see \Drupal\Core\Entity\Query\QueryBase::getNamespaces()
20 * @see \Drupal\Core\Entity\Query\QueryBase::getClass()
22 class QueryFactory extends BaseQueryFactory {