Documentation

getLengthFunction

string public
\Bitrix\Main\DB\SqlHelper::getLengthFunction(
 string $field
);

This non-static method returns SQL function for getting field length or database expression.

$field parameter is SQL unsafe.

Parameters

ParameterDescriptionVersion
$fieldDatabase field or expression.

Examples



© «Bitrix24», 2001-2024
Up