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