Insert.php

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

Namespace

Drupal\Core\Database\Driver\mysql

File

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

View source
<?php

namespace Drupal\Core\Database\Driver\mysql;

use Drupal\mysql\Driver\Database\mysql\Insert as MysqlInsert;
@trigger_error('\\Drupal\\Core\\Database\\Driver\\mysql\\Insert 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\Insert.
 *
 * @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 Insert extends MysqlInsert {

}

Classes

Title Deprecated Summary
Insert

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\Insert.

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