SchemaUniquePrefixedKeysIndexTestBase::$columnValue

Same name in other branches
  1. 10 core/tests/Drupal/KernelTests/Core/Database/SchemaUniquePrefixedKeysIndexTestBase.php \Drupal\KernelTests\Core\Database\SchemaUniquePrefixedKeysIndexTestBase::columnValue

Set the value used to test the schema unique prefixed keys index.

The basic syntax of passing an array (field, prefix length) as a key column specifier must always be accepted by the driver. However, due to technical limitations, some drivers may choose to ignore them.

'123456789 bar' if the current database (driver) will conform to the prefix length specified as part of a key column specifier, '123456789 foo' if it will be ignored.

Type: columnValue

File

core/tests/Drupal/KernelTests/Core/Database/SchemaUniquePrefixedKeysIndexTestBase.php, line 27

Class

SchemaUniquePrefixedKeysIndexTestBase
Tests adding UNIQUE keys to tables.

Namespace

Drupal\KernelTests\Core\Database

Code

protected string $columnValue;

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