• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/db/pgsqlsqlhelper.php
  • Класс: BitrixMainDBPgsqlSqlHelper
  • Вызов: PgsqlSqlHelper::getSha1Function
public function getSha1Function($field)
{
	return "encode(digest(" . $field . "::bytea, 'sha1'), 'hex')";
}