skip to Main Content

How to check mongoDB updateOne execution time

I have been using .explain("executionStats") to find the execution time for a get-call like below in mongoDB compass console sh: db.getCollection('Employee').find({"value.attendence":{$elemMatch:{"$lt":"2023-03-11T08:49:00Z","$gt":"2023-03-11T08:51:00Z"}}}).explain("executionStats") This works fine. However now I want to see the update timings and not finding a proper query. I…

VIEW QUESTION
Back To Top
Search