Documentation

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 $indexNameis not missed, current position must be set using the index name.

Parameters

ParameterDescriptionVersion
$tokenizerSet of tokens.
$uniqueUnique flag.
$indexNameOptional parameter: index name.

Example



© «Bitrix24», 2001-2024
Up