Search for addPrimaryKey

  1. Search 7.x for addPrimaryKey
  2. Search 9.5.x for addPrimaryKey
  3. Search 10.3.x for addPrimaryKey
  4. Search 11.x for addPrimaryKey
  5. Other projects
Title Object type File name Summary
DatabaseLegacyTest::testDbAddPrimaryKey function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests deprecation of the db_add_primary_key() function.
Schema::addPrimaryKey function core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php Add a primary key.
Schema::addPrimaryKey function core/lib/Drupal/Core/Database/Driver/mysql/Schema.php Add a primary key.
Schema::addPrimaryKey function core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php Add a primary key.
Schema::addPrimaryKey function core/lib/Drupal/Core/Database/Schema.php Add a primary key.

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