I'm using MongoDB driver to retrieve data https://pkg.go.dev/go.mongodb.org/mongo-driver/mongo I was trying to explain() the query but this documentation doesn't mention anything related. How can I use this function with the MongoDB driver? https://docs.mongodb.com/manual/reference/method/cursor.explain/
I want to do something like with Go Driver
db.col.find({filter:1}).explain("executionStats")