Hello, I want to write a function instead of aggregation. How can I do this in mongocxx?
Here (https://docs.mongodb.com/manual/reference/operator/aggregation/function/?searchProperty=current&query=%24function) is a function writing with aggregation, how can I write another function instead?
I’ve been searching for a long time, but I couldn’t find an example that says function with cxx.