71 $connection = \Bitrix\Main\Application::getConnection();
72 $sql = $connection->getSqlHelper()
73 ->getInsertIgnore(self::getTableName(),
' (MESSAGE_ID, PARENT_ID) ', $sql);
74 $connection->query($sql);
76 return $connection->getAffectedRowsCount();