QueryFactory.php

Same filename in this branch
  1. 11.x core/modules/workspaces/src/EntityQuery/QueryFactory.php
  2. 11.x core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php
  3. 11.x core/lib/Drupal/Core/Entity/Query/Sql/QueryFactory.php
  4. 11.x core/lib/Drupal/Core/Entity/Query/Null/QueryFactory.php
  5. 11.x core/lib/Drupal/Core/Entity/KeyValueStore/Query/QueryFactory.php
  6. 11.x core/modules/pgsql/src/EntityQuery/QueryFactory.php
Same filename and directory in other branches
  1. 9 core/modules/workspaces/src/EntityQuery/QueryFactory.php
  2. 9 core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php
  3. 9 core/lib/Drupal/Core/Entity/Query/Sql/QueryFactory.php
  4. 9 core/lib/Drupal/Core/Entity/Query/Sql/pgsql/QueryFactory.php
  5. 9 core/lib/Drupal/Core/Entity/Query/Null/QueryFactory.php
  6. 9 core/lib/Drupal/Core/Entity/KeyValueStore/Query/QueryFactory.php
  7. 8.9.x core/modules/workspaces/src/EntityQuery/QueryFactory.php
  8. 8.9.x core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php
  9. 8.9.x core/lib/Drupal/Core/Entity/Query/Sql/QueryFactory.php
  10. 8.9.x core/lib/Drupal/Core/Entity/Query/Sql/pgsql/QueryFactory.php
  11. 8.9.x core/lib/Drupal/Core/Entity/Query/QueryFactory.php
  12. 8.9.x core/lib/Drupal/Core/Entity/Query/Null/QueryFactory.php
  13. 8.9.x core/lib/Drupal/Core/Entity/KeyValueStore/Query/QueryFactory.php
  14. 10 core/modules/workspaces/src/EntityQuery/QueryFactory.php
  15. 10 core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php
  16. 10 core/lib/Drupal/Core/Entity/Query/Sql/QueryFactory.php
  17. 10 core/lib/Drupal/Core/Entity/Query/Sql/pgsql/QueryFactory.php
  18. 10 core/lib/Drupal/Core/Entity/Query/Null/QueryFactory.php
  19. 10 core/lib/Drupal/Core/Entity/KeyValueStore/Query/QueryFactory.php

Namespace

Drupal\Core\Entity\Query\Sql\pgsql

File

core/lib/Drupal/Core/Entity/Query/Sql/pgsql/QueryFactory.php

View source
<?php

namespace Drupal\Core\Entity\Query\Sql\pgsql;

use Drupal\Core\Database\Connection;
use Drupal\Core\Entity\Query\Sql\QueryFactory as BaseQueryFactory;

/**
 * PostgreSQL specific entity query implementation.
 *
 * @deprecated in drupal:11.2.0 and is removed from drupal:12.0.0. The
 *   PostgreSQL override of the entity query has been moved to the pgsql module.
 *
 * @see https://www.drupal.org/node/3488580
 */
class QueryFactory extends BaseQueryFactory {
  
  /**
   * {@inheritdoc}
   */
  public function __construct(Connection $connection) {
    @trigger_error('\\Drupal\\Core\\Entity\\Query\\Sql\\pgsql\\QueryFactory is deprecated in drupal:11.2.0 and is removed from drupal:12.0.0. The PostgreSQL override of the entity query has been moved to the pgsql module. See https://www.drupal.org/node/3488580', E_USER_DEPRECATED);
    parent::__construct($connection);
  }

}

Classes

Title Deprecated Summary
QueryFactory

in drupal:11.2.0 and is removed from drupal:12.0.0. The PostgreSQL override of the entity query has been moved to the pgsql module.

PostgreSQL specific entity query implementation.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.