D7 API documentation
What's New
Modules
Main module in old core
addSecondsToDateTime
castToChar
convertDateField
convertDatetimeField
convertStringField
forSql
formatDate
getAliasLength
getCharToDateFunction
getColumnTypeByField
getConcatFunction
getConverter
getCurrentDateFunction
getCurrentDateTimeFunction
getDateToCharFunction
getDatetimeToDateFunction
getFieldByColumnType
getIsNullFunction
getLeftQuote
getLengthFunction
getQueryDelimiter
getRightQuote
getSubstrFunction
getTopSql
prepareMerge
softCastTextToChar
getFieldByColumnType
\Bitrix\Main\Entity\ScalarField public \Bitrix\Main\DB\MssqlSqlHelper::getFieldByColumnType( string $name, mixed $type, array $parameters = null );
This non-static method returns descendant exception from Entity\ScalarField
that matches to database type.
Parameters
Parameter | Description | Version |
---|---|---|
$name | Name of database column. | |
$type | Database specific type. | |
$parameters | Additional information. |
Examples
© «Bitrix24», 2001-2024
Up