Running currentOp() is fine in the shell but I want my realm app to be able to access this information. Is it possible? If so, how? I have tried the obvious (below) but i’m getting “currentOp() is not a function”.
Realm Functions are limited in their access to MongoDB Actions, that include collection.bulkWrite() that has apparently been skipped in that page (but is present in the list at the side). currentOp() is unfortunately not among those.