{"action":"opened","number":152,"pull_request":{"url":"https://api.github.com/repos/TylerBrock/mongo-hacker/pulls/152","id":59633227,"html_url":"https://github.com/TylerBrock/mongo-hacker/pull/152","diff_url":"https://github.com/TylerBrock/mongo-hacker/pull/152.diff","patch_url":"https://github.com/TylerBrock/mongo-hacker/pull/152.patch","issue_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/issues/152","number":152,"state":"open","locked":false,"title":"Run function on some/all databases","user":{"login":"malarzm","id":4947711,"avatar_url":"https://avatars.githubusercontent.com/u/4947711?v=3","gravatar_id":"","url":"https://api.github.com/users/malarzm","html_url":"https://github.com/malarzm","followers_url":"https://api.github.com/users/malarzm/followers","following_url":"https://api.github.com/users/malarzm/following{/other_user}","gists_url":"https://api.github.com/users/malarzm/gists{/gist_id}","starred_url":"https://api.github.com/users/malarzm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malarzm/subscriptions","organizations_url":"https://api.github.com/users/malarzm/orgs","repos_url":"https://api.github.com/users/malarzm/repos","events_url":"https://api.github.com/users/malarzm/events{/privacy}","received_events_url":"https://api.github.com/users/malarzm/received_events","type":"User","site_admin":false},"body":"Our project lives in multi tenant world where each application has its own database and we often need to run same query on multiple databases (be it looking how many databases has certain documents or data migrations we want to test before employing our migration tool). Maybe somebody will find it useful it too :)","created_at":"2016-02-17T11:53:58Z","updated_at":"2016-02-17T11:53:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/pulls/152/commits","review_comments_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/pulls/152/comments","review_comment_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/issues/152/comments","statuses_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/statuses/2f7bb4b8116491084abef99e917fb26a134ec456","head":{"label":"malarzm:run-on-dbs","ref":"run-on-dbs","sha":"2f7bb4b8116491084abef99e917fb26a134ec456","user":{"login":"malarzm","id":4947711,"avatar_url":"https://avatars.githubusercontent.com/u/4947711?v=3","gravatar_id":"","url":"https://api.github.com/users/malarzm","html_url":"https://github.com/malarzm","followers_url":"https://api.github.com/users/malarzm/followers","following_url":"https://api.github.com/users/malarzm/following{/other_user}","gists_url":"https://api.github.com/users/malarzm/gists{/gist_id}","starred_url":"https://api.github.com/users/malarzm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malarzm/subscriptions","organizations_url":"https://api.github.com/users/malarzm/orgs","repos_url":"https://api.github.com/users/malarzm/repos","events_url":"https://api.github.com/users/malarzm/events{/privacy}","received_events_url":"https://api.github.com/users/malarzm/received_events","type":"User","site_admin":false},"repo":{"id":49567170,"name":"mongo-hacker","full_name":"malarzm/mongo-hacker","owner":{"login":"malarzm","id":4947711,"avatar_url":"https://avatars.githubusercontent.com/u/4947711?v=3","gravatar_id":"","url":"https://api.github.com/users/malarzm","html_url":"https://github.com/malarzm","followers_url":"https://api.github.com/users/malarzm/followers","following_url":"https://api.github.com/users/malarzm/following{/other_user}","gists_url":"https://api.github.com/users/malarzm/gists{/gist_id}","starred_url":"https://api.github.com/users/malarzm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malarzm/subscriptions","organizations_url":"https://api.github.com/users/malarzm/orgs","repos_url":"https://api.github.com/users/malarzm/repos","events_url":"https://api.github.com/users/malarzm/events{/privacy}","received_events_url":"https://api.github.com/users/malarzm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/malarzm/mongo-hacker","description":"MongoDB Shell Enhancements for Hackers","fork":true,"url":"https://api.github.com/repos/malarzm/mongo-hacker","forks_url":"https://api.github.com/repos/malarzm/mongo-hacker/forks","keys_url":"https://api.github.com/repos/malarzm/mongo-hacker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/malarzm/mongo-hacker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/malarzm/mongo-hacker/teams","hooks_url":"https://api.github.com/repos/malarzm/mongo-hacker/hooks","issue_events_url":"https://api.github.com/repos/malarzm/mongo-hacker/issues/events{/number}","events_url":"https://api.github.com/repos/malarzm/mongo-hacker/events","assignees_url":"https://api.github.com/repos/malarzm/mongo-hacker/assignees{/user}","branches_url":"https://api.github.com/repos/malarzm/mongo-hacker/branches{/branch}","tags_url":"https://api.github.com/repos/malarzm/mongo-hacker/tags","blobs_url":"https://api.github.com/repos/malarzm/mongo-hacker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/malarzm/mongo-hacker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/malarzm/mongo-hacker/git/refs{/sha}","trees_url":"https://api.github.com/repos/malarzm/mongo-hacker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/malarzm/mongo-hacker/statuses/{sha}","languages_url":"https://api.github.com/repos/malarzm/mongo-hacker/languages","stargazers_url":"https://api.github.com/repos/malarzm/mongo-hacker/stargazers","contributors_url":"https://api.github.com/repos/malarzm/mongo-hacker/contributors","subscribers_url":"https://api.github.com/repos/malarzm/mongo-hacker/subscribers","subscription_url":"https://api.github.com/repos/malarzm/mongo-hacker/subscription","commits_url":"https://api.github.com/repos/malarzm/mongo-hacker/commits{/sha}","git_commits_url":"https://api.github.com/repos/malarzm/mongo-hacker/git/commits{/sha}","comments_url":"https://api.github.com/repos/malarzm/mongo-hacker/comments{/number}","issue_comment_url":"https://api.github.com/repos/malarzm/mongo-hacker/issues/comments{/number}","contents_url":"https://api.github.com/repos/malarzm/mongo-hacker/contents/{+path}","compare_url":"https://api.github.com/repos/malarzm/mongo-hacker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/malarzm/mongo-hacker/merges","archive_url":"https://api.github.com/repos/malarzm/mongo-hacker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/malarzm/mongo-hacker/downloads","issues_url":"https://api.github.com/repos/malarzm/mongo-hacker/issues{/number}","pulls_url":"https://api.github.com/repos/malarzm/mongo-hacker/pulls{/number}","milestones_url":"https://api.github.com/repos/malarzm/mongo-hacker/milestones{/number}","notifications_url":"https://api.github.com/repos/malarzm/mongo-hacker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/malarzm/mongo-hacker/labels{/name}","releases_url":"https://api.github.com/repos/malarzm/mongo-hacker/releases{/id}","deployments_url":"https://api.github.com/repos/malarzm/mongo-hacker/deployments","created_at":"2016-01-13T10:34:06Z","updated_at":"2016-01-13T10:34:06Z","pushed_at":"2016-02-17T11:43:16Z","git_url":"git://github.com/malarzm/mongo-hacker.git","ssh_url":"git@github.com:malarzm/mongo-hacker.git","clone_url":"https://github.com/malarzm/mongo-hacker.git","svn_url":"https://github.com/malarzm/mongo-hacker","homepage":"tylerbrock.github.io/mongo-hacker","size":868,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"TylerBrock:master","ref":"master","sha":"81f1f2388f24d8253ba92f2c4862ca8f92c1d376","user":{"login":"TylerBrock","id":280807,"avatar_url":"https://avatars.githubusercontent.com/u/280807?v=3","gravatar_id":"","url":"https://api.github.com/users/TylerBrock","html_url":"https://github.com/TylerBrock","followers_url":"https://api.github.com/users/TylerBrock/followers","following_url":"https://api.github.com/users/TylerBrock/following{/other_user}","gists_url":"https://api.github.com/users/TylerBrock/gists{/gist_id}","starred_url":"https://api.github.com/users/TylerBrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TylerBrock/subscriptions","organizations_url":"https://api.github.com/users/TylerBrock/orgs","repos_url":"https://api.github.com/users/TylerBrock/repos","events_url":"https://api.github.com/users/TylerBrock/events{/privacy}","received_events_url":"https://api.github.com/users/TylerBrock/received_events","type":"User","site_admin":false},"repo":{"id":5740758,"name":"mongo-hacker","full_name":"TylerBrock/mongo-hacker","owner":{"login":"TylerBrock","id":280807,"avatar_url":"https://avatars.githubusercontent.com/u/280807?v=3","gravatar_id":"","url":"https://api.github.com/users/TylerBrock","html_url":"https://github.com/TylerBrock","followers_url":"https://api.github.com/users/TylerBrock/followers","following_url":"https://api.github.com/users/TylerBrock/following{/other_user}","gists_url":"https://api.github.com/users/TylerBrock/gists{/gist_id}","starred_url":"https://api.github.com/users/TylerBrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TylerBrock/subscriptions","organizations_url":"https://api.github.com/users/TylerBrock/orgs","repos_url":"https://api.github.com/users/TylerBrock/repos","events_url":"https://api.github.com/users/TylerBrock/events{/privacy}","received_events_url":"https://api.github.com/users/TylerBrock/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TylerBrock/mongo-hacker","description":"MongoDB Shell Enhancements for Hackers","fork":false,"url":"https://api.github.com/repos/TylerBrock/mongo-hacker","forks_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/forks","keys_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/teams","hooks_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/hooks","issue_events_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/issues/events{/number}","events_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/events","assignees_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/assignees{/user}","branches_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/branches{/branch}","tags_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/tags","blobs_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/git/refs{/sha}","trees_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/statuses/{sha}","languages_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/languages","stargazers_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/stargazers","contributors_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/contributors","subscribers_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/subscribers","subscription_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/subscription","commits_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/commits{/sha}","git_commits_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/git/commits{/sha}","comments_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/comments{/number}","issue_comment_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/issues/comments{/number}","contents_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/contents/{+path}","compare_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/merges","archive_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/downloads","issues_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/issues{/number}","pulls_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/pulls{/number}","milestones_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/milestones{/number}","notifications_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/labels{/name}","releases_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/releases{/id}","deployments_url":"https://api.github.com/repos/TylerBrock/mongo-hacker/deployments","created_at":"2012-09-09T19:16:40Z","updated_at":"2016-02-16T10:58:10Z","pushed_at":"2016-02-10T13:29:34Z","git_url":"git://github.com/TylerBrock/mongo-hacker.git","ssh_url":"git@github.com:TylerBrock/mongo-hacker.git","clone_url":"https://github.com/TylerBrock/mongo-hacker.git","svn_url":"https://github.com/TylerBrock/mongo-hacker","homepage":"tylerbrock.github.io/mongo-hacker","size":1034,"stargazers_count":891,"watchers_count":891,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":152,"mirror_url":null,"open_issues_count":16,"forks":152,"open_issues":16,"watchers":891,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TylerBrock/mongo-hacker/pulls/152"},"html":{"href":"https://github.com/TylerBrock/mongo-hacker/pull/152"},"issue":{"href":"https://api.github.com/repos/TylerBrock/mongo-hacker/issues/152"},"comments":{"href":"https://api.github.com/repos/TylerBrock/mongo-hacker/issues/152/comments"},"review_comments":{"href":"https://api.github.com/repos/TylerBrock/mongo-hacker/pulls/152/comments"},"review_comment":{"href":"https://api.github.com/repos/TylerBrock/mongo-hacker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TylerBrock/mongo-hacker/pulls/152/commits"},"statuses":{"href":"https://api.github.com/repos/TylerBrock/mongo-hacker/statuses/2f7bb4b8116491084abef99e917fb26a134ec456"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":19,"deletions":0,"changed_files":2}}