I have a java class which has a function to calculate the popularity of a tweet. According to the task I should use the function in combination with the aggregation to calculate the popularity of the tweet. Is there a way to pass the function to the aggregation? Thank you very much in advance.
https://docs.mongodb.com/manual/reference/operator/aggregation/function/
Обсуждают сегодня