Untitled
unknown
plain_text
2 years ago
333 B
17
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