create
\Bitrix\Perfmon\Sql\Index public static \Bitrix\Perfmon\Sql\Index::create( \Bitrix\Perfmon\Sql\Tokenizer $tokenizer, boolean $unique = false, string $indexName = '' );
Static method create an index object from tokens.
When parameter $indexName
is not missed, current position must be set using the index name.
Parameters
Parameter | Description | Version |
---|---|---|
$tokenizer | Set of tokens. | |
$unique | Unique flag. | |
$indexName | Optional parameter: index name. |
Example
© «Bitrix24», 2001-2024