Upsert.php

Same filename in this branch
  1. 10 core/modules/sqlite/src/Driver/Database/sqlite/Upsert.php
  2. 10 core/modules/mysql/src/Driver/Database/mysql/Upsert.php
  3. 10 core/modules/pgsql/src/Driver/Database/pgsql/Upsert.php
  4. 10 core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Upsert.php
  5. 10 core/lib/Drupal/Core/Database/Driver/sqlite/Upsert.php
  6. 10 core/lib/Drupal/Core/Database/Driver/pgsql/Upsert.php
  7. 10 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. 11.x core/modules/sqlite/src/Driver/Database/sqlite/Upsert.php
  19. 11.x core/modules/mysql/src/Driver/Database/mysql/Upsert.php
  20. 11.x core/modules/pgsql/src/Driver/Database/pgsql/Upsert.php
  21. 11.x core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Upsert.php
  22. 11.x core/lib/Drupal/Core/Database/Query/Upsert.php

Namespace

Drupal\Core\Database\Driver\mysql

File

core/lib/Drupal/Core/Database/Driver/mysql/Upsert.php

View source
<?php

namespace Drupal\Core\Database\Driver\mysql;

use Drupal\mysql\Driver\Database\mysql\Upsert as MysqlUpsert;
@trigger_error('\\Drupal\\Core\\Database\\Driver\\mysql\\Upsert is deprecated in drupal:9.4.0 and is removed from drupal:11.0.0. The MySQL database driver has been moved to the mysql module. See https://www.drupal.org/node/3129492', E_USER_DEPRECATED);

/**
 * MySQL implementation of \Drupal\Core\Database\Query\Upsert.
 *
 * @deprecated in drupal:9.4.0 and is removed from drupal:11.0.0. The MySQL
 *   database driver has been moved to the mysql module.
 *
 * @see https://www.drupal.org/node/3129492
 */
class Upsert extends MysqlUpsert {

}

Classes

Title Deprecated Summary
Upsert

in drupal:9.4.0 and is removed from drupal:11.0.0. The MySQL database driver has been moved to the mysql module.

MySQL implementation of \Drupal\Core\Database\Query\Upsert.

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