Upsert.php

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

Namespace

Drupal\core_fake\Driver\Database\CoreFakeWithAllCustomClasses

File

core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Upsert.php

View source
<?php

namespace Drupal\core_fake\Driver\Database\CoreFakeWithAllCustomClasses;

use Drupal\Core\Database\Query\Upsert as QueryUpsert;

/**
 * CoreFakeWithAllCustomClasses implementation of \Drupal\Core\Database\Upsert.
 */
class Upsert extends QueryUpsert {
    
    /**
     * {@inheritdoc}
     */
    public function execute() {
    }
    
    /**
     * {@inheritdoc}
     */
    public function __toString() {
        throw new \BadMethodCallException('Upsert not implemented');
    }

}

Classes

Title Deprecated Summary
Upsert CoreFakeWithAllCustomClasses implementation of \Drupal\Core\Database\Upsert.

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