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