source names are unique

This commit is contained in:
root
2025-09-15 09:26:41 +05:00
parent 95c09289d6
commit 47f22b9c03
2 changed files with 37 additions and 28 deletions
@@ -47,7 +47,6 @@ public interface MarketItemRepository extends MongoRepository<MarketItem, String
/**
* Получить все уникальные названия источников
*/
@Query(value = "{}", fields = "{'sourceName': 1}")
List<String> findDistinctSourceNames();
/**