Search for index

  1. Search 7.x for index
  2. Search 9.5.x for index
  3. Search 8.9.x for index
  4. Search 11.x for index
  5. Other projects
Title Object type File name Summary
ResultRow::$index property core/modules/views/src/ResultRow.php An incremental number which represents the row in the entire result.
Schema::addIndex function core/modules/sqlite/src/Driver/Database/sqlite/Schema.php Add an index.
Schema::addIndex function core/modules/mysql/src/Driver/Database/mysql/Schema.php Add an index.
Schema::addIndex function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php Add an index.
Schema::addIndex function core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Schema.php Add an index.
Schema::addIndex function core/lib/Drupal/Core/Database/Schema.php Add an index.
Schema::createIndexSql function core/modules/sqlite/src/Driver/Database/sqlite/Schema.php Build the SQL expression for indexes.
Schema::dropIndex function core/modules/sqlite/src/Driver/Database/sqlite/Schema.php Drop an index.
Schema::dropIndex function core/modules/mysql/src/Driver/Database/mysql/Schema.php Drop an index.
Schema::dropIndex function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php Drop an index.
Schema::dropIndex function core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Schema.php Drop an index.
Schema::dropIndex function core/lib/Drupal/Core/Database/Schema.php Drop an index.
Schema::getNormalizedIndexes function core/modules/mysql/src/Driver/Database/mysql/Schema.php Gets normalized indexes from a table specification.
Schema::indexExists function core/modules/sqlite/src/Driver/Database/sqlite/Schema.php Checks if an index exists in the given table.
Schema::indexExists function core/modules/mysql/src/Driver/Database/mysql/Schema.php Checks if an index exists in the given table.
Schema::indexExists function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php Checks if an index exists in the given table.
Schema::indexExists function core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Schema.php Checks if an index exists in the given table.
Schema::indexExists function core/lib/Drupal/Core/Database/Schema.php Checks if an index exists in the given table.
Schema::introspectIndexSchema function core/modules/sqlite/src/Driver/Database/sqlite/Schema.php Finds the columns for the primary key, unique keys and indexes of a table.
Schema::introspectIndexSchema function core/modules/mysql/src/Driver/Database/mysql/Schema.php Finds the columns for the primary key, unique keys and indexes of a table.
Schema::introspectIndexSchema function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php Finds the columns for the primary key, unique keys and indexes of a table.
Schema::introspectIndexSchema function core/lib/Drupal/Core/Database/Schema.php Finds the columns for the primary key, unique keys and indexes of a table.
Schema::shortenIndex function core/modules/mysql/src/Driver/Database/mysql/Schema.php Helper function for normalizeIndexes().
Schema::_createIndexSql function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php
SchemaIntrospectionTestTrait::assertIndexOnColumns function core/tests/Drupal/Tests/Core/Database/SchemaIntrospectionTestTrait.php Checks that an index covering exactly the given column names exists.
SchemaIntrospectionTestTrait::assertNoIndexOnColumns function core/tests/Drupal/Tests/Core/Database/SchemaIntrospectionTestTrait.php Checks that an index covering exactly the given column names doesn't exist.
SchemaIntrospectionTestTrait::getIndexColumnNames function core/tests/Drupal/Tests/Core/Database/SchemaIntrospectionTestTrait.php Returns the column names used by the indexes of a table.
SchemaTest::testIndexLength function core/modules/mysql/tests/src/Kernel/mysql/SchemaTest.php Tests that indexes on string fields are limited to 191 characters on MySQL.
SchemaTest::testIntrospectIndexSchema function core/modules/sqlite/tests/src/Kernel/sqlite/SchemaTest.php @covers \Drupal\sqlite\Driver\Database\sqlite\Schema::introspectIndexSchema
SchemaTest::testIntrospectIndexSchema function core/modules/mysql/tests/src/Kernel/mysql/SchemaTest.php @covers \Drupal\mysql\Driver\Database\mysql\Schema::introspectIndexSchema
SchemaTest::testIntrospectIndexSchema function core/modules/pgsql/tests/src/Kernel/pgsql/SchemaTest.php @covers \Drupal\pgsql\Driver\Database\pgsql\Schema::introspectIndexSchema
SchemaTest::testRenameTableWithNewIndexNameEqualsTableName function core/modules/pgsql/tests/src/Kernel/pgsql/SchemaTest.php Tests renaming a table where the new index name is equal to the table name.
SchemaUniquePrefixedKeysIndexTest class core/modules/sqlite/tests/src/Kernel/sqlite/SchemaUniquePrefixedKeysIndexTest.php Tests adding UNIQUE keys to tables.
SchemaUniquePrefixedKeysIndexTest class core/modules/mysql/tests/src/Kernel/mysql/SchemaUniquePrefixedKeysIndexTest.php Tests adding UNIQUE keys to tables.
SchemaUniquePrefixedKeysIndexTest class core/modules/pgsql/tests/src/Kernel/pgsql/SchemaUniquePrefixedKeysIndexTest.php Tests adding UNIQUE keys to tables.
SchemaUniquePrefixedKeysIndexTest.php file core/modules/sqlite/tests/src/Kernel/sqlite/SchemaUniquePrefixedKeysIndexTest.php
SchemaUniquePrefixedKeysIndexTest.php file core/modules/mysql/tests/src/Kernel/mysql/SchemaUniquePrefixedKeysIndexTest.php
SchemaUniquePrefixedKeysIndexTest.php file core/modules/pgsql/tests/src/Kernel/pgsql/SchemaUniquePrefixedKeysIndexTest.php
SchemaUniquePrefixedKeysIndexTest::$columnValue property core/modules/sqlite/tests/src/Kernel/sqlite/SchemaUniquePrefixedKeysIndexTest.php Set the value used to test the schema unique prefixed keys index.
SchemaUniquePrefixedKeysIndexTest::$columnValue property core/modules/mysql/tests/src/Kernel/mysql/SchemaUniquePrefixedKeysIndexTest.php Set the value used to test the schema unique prefixed keys index.
SchemaUniquePrefixedKeysIndexTest::$columnValue property core/modules/pgsql/tests/src/Kernel/pgsql/SchemaUniquePrefixedKeysIndexTest.php Set the value used to test the schema unique prefixed keys index.
SchemaUniquePrefixedKeysIndexTestBase class core/tests/Drupal/KernelTests/Core/Database/SchemaUniquePrefixedKeysIndexTestBase.php Tests adding UNIQUE keys to tables.
SchemaUniquePrefixedKeysIndexTestBase.php file core/tests/Drupal/KernelTests/Core/Database/SchemaUniquePrefixedKeysIndexTestBase.php
SchemaUniquePrefixedKeysIndexTestBase::$columnValue property core/tests/Drupal/KernelTests/Core/Database/SchemaUniquePrefixedKeysIndexTestBase.php Set the value used to test the schema unique prefixed keys index.
SchemaUniquePrefixedKeysIndexTestBase::checkUniqueConstraintException function core/tests/Drupal/KernelTests/Core/Database/SchemaUniquePrefixedKeysIndexTestBase.php Verifies that inserting the same value/prefix twice causes an exception.
SchemaUniquePrefixedKeysIndexTestBase::testAddField function core/tests/Drupal/KernelTests/Core/Database/SchemaUniquePrefixedKeysIndexTestBase.php Tests adding a new field with UNIQUE key.
SchemaUniquePrefixedKeysIndexTestBase::testAddUniqueKey function core/tests/Drupal/KernelTests/Core/Database/SchemaUniquePrefixedKeysIndexTestBase.php Tests adding a UNIQUE key to an existing table.
SchemaUniquePrefixedKeysIndexTestBase::testChangeField function core/tests/Drupal/KernelTests/Core/Database/SchemaUniquePrefixedKeysIndexTestBase.php Tests changing a field to add a UNIQUE key.
SchemaUniquePrefixedKeysIndexTestBase::testCreateTable function core/tests/Drupal/KernelTests/Core/Database/SchemaUniquePrefixedKeysIndexTestBase.php Tests UNIQUE keys put directly on the table definition.
search.index service core/modules/search/search.services.yml Drupal\search\SearchIndex

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