Select.php

Same filename in this branch
  1. 9 core/modules/mysql/src/Driver/Database/mysql/Select.php
  2. 9 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysql/Select.php
  3. 9 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysqlDeprecatedVersion/Select.php
  4. 9 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Select.php
  5. 9 core/modules/pgsql/src/Driver/Database/pgsql/Select.php
  6. 9 core/tests/Drupal/Tests/Core/Database/Stub/Select.php
  7. 9 core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/Select.php
  8. 9 core/lib/Drupal/Core/Render/Element/Select.php
  9. 9 core/lib/Drupal/Core/Database/Driver/sqlite/Select.php
  10. 9 core/lib/Drupal/Core/Database/Driver/pgsql/Select.php
  11. 9 core/lib/Drupal/Core/Database/Query/Select.php
Same filename in other branches
  1. 8.9.x core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysql/Select.php
  2. 8.9.x core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Select.php
  3. 8.9.x core/tests/Drupal/Tests/Core/Database/Stub/Select.php
  4. 8.9.x core/lib/Drupal/Core/Render/Element/Select.php
  5. 8.9.x core/lib/Drupal/Core/Database/Driver/sqlite/Select.php
  6. 8.9.x core/lib/Drupal/Core/Database/Driver/mysql/Select.php
  7. 8.9.x core/lib/Drupal/Core/Database/Driver/pgsql/Select.php
  8. 8.9.x core/lib/Drupal/Core/Database/Query/Select.php
  9. 10 core/modules/sqlite/src/Driver/Database/sqlite/Select.php
  10. 10 core/modules/mysql/src/Driver/Database/mysql/Select.php
  11. 10 core/modules/pgsql/src/Driver/Database/pgsql/Select.php
  12. 10 core/tests/Drupal/Tests/Core/Database/Stub/Select.php
  13. 10 core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Select.php
  14. 10 core/lib/Drupal/Core/Render/Element/Select.php
  15. 10 core/lib/Drupal/Core/Database/Driver/sqlite/Select.php
  16. 10 core/lib/Drupal/Core/Database/Driver/pgsql/Select.php
  17. 10 core/lib/Drupal/Core/Database/Query/Select.php
  18. 11.x core/modules/sqlite/src/Driver/Database/sqlite/Select.php
  19. 11.x core/modules/mysql/src/Driver/Database/mysql/Select.php
  20. 11.x core/modules/pgsql/src/Driver/Database/pgsql/Select.php
  21. 11.x core/tests/Drupal/Tests/Core/Database/Stub/Select.php
  22. 11.x core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Select.php
  23. 11.x core/lib/Drupal/Core/Render/Element/Select.php
  24. 11.x core/lib/Drupal/Core/Database/Query/Select.php

Namespace

Drupal\sqlite\Driver\Database\sqlite

File

core/modules/sqlite/src/Driver/Database/sqlite/Select.php

View source
<?php

namespace Drupal\sqlite\Driver\Database\sqlite;

use Drupal\Core\Database\Query\Select as QuerySelect;

/**
 * SQLite implementation of \Drupal\Core\Database\Query\Select.
 */
class Select extends QuerySelect {
    
    /**
     * {@inheritdoc}
     */
    public function __construct(Connection $connection, $table, $alias = NULL, array $options = []) {
        // @todo Remove the __construct in Drupal 11.
        // @see https://www.drupal.org/project/drupal/issues/3256524
        parent::__construct($connection, $table, $alias, $options);
        unset($this->queryOptions['return']);
    }
    public function forUpdate($set = TRUE) {
        // SQLite does not support FOR UPDATE so nothing to do.
        return $this;
    }

}

Classes

Title Deprecated Summary
Select SQLite implementation of \Drupal\Core\Database\Query\Select.

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