{"action":"closed","issue":{"url":"https://api.github.com/repos/mongo-dart/mongo_dart/issues/101","repository_url":"https://api.github.com/repos/mongo-dart/mongo_dart","labels_url":"https://api.github.com/repos/mongo-dart/mongo_dart/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/mongo-dart/mongo_dart/issues/101/comments","events_url":"https://api.github.com/repos/mongo-dart/mongo_dart/issues/101/events","html_url":"https://github.com/mongo-dart/mongo_dart/issues/101","id":180712585,"number":101,"title":"Explain find and profiling?","user":{"login":"jodinathan","id":6199518,"avatar_url":"https://avatars.githubusercontent.com/u/6199518?v=3","gravatar_id":"","url":"https://api.github.com/users/jodinathan","html_url":"https://github.com/jodinathan","followers_url":"https://api.github.com/users/jodinathan/followers","following_url":"https://api.github.com/users/jodinathan/following{/other_user}","gists_url":"https://api.github.com/users/jodinathan/gists{/gist_id}","starred_url":"https://api.github.com/users/jodinathan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodinathan/subscriptions","organizations_url":"https://api.github.com/users/jodinathan/orgs","repos_url":"https://api.github.com/users/jodinathan/repos","events_url":"https://api.github.com/users/jodinathan/events{/privacy}","received_events_url":"https://api.github.com/users/jodinathan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-10-03T18:33:49Z","updated_at":"2016-10-07T18:40:29Z","closed_at":"2016-10-07T18:40:29Z","body":"Hi,\r\n\r\nI am trying to get the execution time of queries but no success.\r\nAlready tried stackoverflow but no answer.\r\nCouldn't find the \"explain\" method before find, line collection.explain().find();.\r\nNow I am digging into the lib and trying to use raw commands.\r\n\r\n```\r\nawait db.queryMessage(new mongo.DbCommand(db, 'system.profile', mongo.MongoQueryMessage.OPTS_NONE, 0, -1, {\r\n\t\t'profile': 2\r\n\t}, null));\r\n\r\n// do some insert and finding...\r\n\r\nvar col = db.collection('system.profile');\r\n\r\nawait col.find().forEach((i) => print(i));\r\n```\r\n\r\nbut it prints nothing in the end.\r\nCould you guys land me a hand please\r\n"}}
{"actor":{"display_login":"jodinathan"}}