122 $whereSql = \Bitrix\Main\Entity\Query::buildFilterSql(static::getEntity(), $filter);
126 $tableName = static::getTableName();
127 $connection = Main\Application::getConnection();
128 $connection->queryExecute(
"DELETE FROM {$tableName} WHERE {$whereSql}");