• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/db/pgsqlsqlhelper.php
  • Класс: BitrixMainDBPgsqlSqlHelper
  • Вызов: PgsqlSqlHelper::getMatchFunction
public function getMatchFunction($field, $value)
{
	return "to_tsvector('english'::regconfig, " . $field . ") @@ to_tsquery('english'::regconfig, " . $value . ")";
}