Untitled

 avatar
unknown
plain_text
a year ago
333 B
6
Indexable
        AggregationResults<Document> results = mongoTemplate.aggregate(aggregation,
                "internet", Document.class);
        List<Document> statisticResponses = results.getMappedResults();

        // Chuyển đổi danh sách kết quả thành JsonNode
        return objectMapper.valueToTree(statisticResponses);
Editor is loading...
Leave a Comment