getFieldByColumnType
\Bitrix\Main\Entity\ScalarField public \Bitrix\Main\DB\MysqlSqlHelper::getFieldByColumnType( string $name, mixed $type, array $parameters = null );
This non-static method returns instance of a descendant from Entity\ScalarField
that matches database type.
Parameters
Parameter | Description | Version |
---|---|---|
$name | Name of database column. | |
$type | Database specific type. | |
$parameters | Additional information. |
Examples
© «Bitrix24», 2001-2024
Up