Documentation

getFieldByColumnType

\Bitrix\Main\Entity\ScalarField public
\Bitrix\Main\DB\SqlHelper::getFieldByColumnType(
 string $name,
 mixed $type,
 array $parameters = null
);

This non-static method returns descendant exception from Entity\ScalarField that matches to database type.

Parameters

ParameterDescriptionVersion
$nameDatabase column name.
$typeDatabase specific type.
$parametersAdditional information.

Examples



© «Bitrix24», 2001-2024
Up