Documentation

softCastTextToChar

 public
\Bitrix\Main\DB\MysqlCommonSqlHelper::softCastTextToChar(
 string $fieldName
);

This non-static method returns expression for text field used for grouping or sorting.

Parameters

ParameterDescriptionVersion
$fieldNameReturned string

See Also

  • \Bitrix\Main\Entity\Query::buildGroup
  • \Bitrix\Main\Entity\Query::buildOrder

Examples



© «Bitrix24», 2001-2022
Up