createIndex
\Bitrix\Perfmon\Sql\Table public \Bitrix\Perfmon\Sql\Table::createIndex( \Bitrix\Perfmon\Sql\Tokenizer $tokenizer, boolean $unique = false, string $indexName = '' );
Non-static method creates an index object from tokens. Also registers an index registration table.
Parameters
Parameter | Description | Version |
---|---|---|
$tokenizer | Set of tokens. | |
$unique | Unique status flag. | |
$indexName | Index name. |
See Also
- Index::create (
\Bitrix\Perfmon\Sql\Index::create
)
Example
© «Bitrix24», 2001-2024