Documentation

create

\Bitrix\Perfmon\Sql\Constraint public static
\Bitrix\Perfmon\Sql\Constraint::create(
 \Bitrix\Perfmon\Sql\Tokenizer $tokenizer,
 string $constraintName = ''
);

Static method creates a limit object from tokens.

When parameter $constraintName is not passed, current position will indicate the limit's name.

Parameters

ParameterDescriptionVersion
$tokenizerSet of tokens.
$constraintNameOptional parameters: limit's name.

Example



© «Bitrix24», 2001-2024
Up