mongodb 3.4 How to use the java language to operate the aggregate function. Beginners, please give me some advice.
# Report a DBObject whose aggregate parameter type is Bson type. Does it need to inherit the Bson type? Can you provide a complete code to understand how to operate the aggregate function.