{"action":"opened","number":3557,"pull_request":{"url":"https://api.github.com/repos/pouchdb/pouchdb/pulls/3557","id":29758858,"html_url":"https://github.com/pouchdb/pouchdb/pull/3557","diff_url":"https://github.com/pouchdb/pouchdb/pull/3557.diff","patch_url":"https://github.com/pouchdb/pouchdb/pull/3557.patch","issue_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/3557","number":3557,"state":"open","locked":false,"title":"(#3557) - idb allDocs() refactor, perf improvements","user":{"login":"nolanlawson","id":283842,"avatar_url":"https://avatars.githubusercontent.com/u/283842?v=3","gravatar_id":"","url":"https://api.github.com/users/nolanlawson","html_url":"https://github.com/nolanlawson","followers_url":"https://api.github.com/users/nolanlawson/followers","following_url":"https://api.github.com/users/nolanlawson/following{/other_user}","gists_url":"https://api.github.com/users/nolanlawson/gists{/gist_id}","starred_url":"https://api.github.com/users/nolanlawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nolanlawson/subscriptions","organizations_url":"https://api.github.com/users/nolanlawson/orgs","repos_url":"https://api.github.com/users/nolanlawson/repos","events_url":"https://api.github.com/users/nolanlawson/events{/privacy}","received_events_url":"https://api.github.com/users/nolanlawson/received_events","type":"User","site_admin":false},"body":"- keep docCount in memory, ala leveldb.js\r\n- use metadata.deleted instead of calculating\r\n  with utils.isDeleted()\r\n- fetch docs asynchronously for include_docs=true","created_at":"2015-02-21T19:53:29Z","updated_at":"2015-02-21T19:53:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c32c50b89db7cc37dfd0f3b515fc6564a66c879e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pouchdb/pouchdb/pulls/3557/commits","review_comments_url":"https://api.github.com/repos/pouchdb/pouchdb/pulls/3557/comments","review_comment_url":"https://api.github.com/repos/pouchdb/pouchdb/pulls/comments/{number}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/3557/comments","statuses_url":"https://api.github.com/repos/pouchdb/pouchdb/statuses/ba8166a59f53ddb84e2d32aeeb036863c4577b2f","head":{"label":"pouchdb:count-docs-idb","ref":"count-docs-idb","sha":"ba8166a59f53ddb84e2d32aeeb036863c4577b2f","user":{"login":"pouchdb","id":3406112,"avatar_url":"https://avatars.githubusercontent.com/u/3406112?v=3","gravatar_id":"","url":"https://api.github.com/users/pouchdb","html_url":"https://github.com/pouchdb","followers_url":"https://api.github.com/users/pouchdb/followers","following_url":"https://api.github.com/users/pouchdb/following{/other_user}","gists_url":"https://api.github.com/users/pouchdb/gists{/gist_id}","starred_url":"https://api.github.com/users/pouchdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pouchdb/subscriptions","organizations_url":"https://api.github.com/users/pouchdb/orgs","repos_url":"https://api.github.com/users/pouchdb/repos","events_url":"https://api.github.com/users/pouchdb/events{/privacy}","received_events_url":"https://api.github.com/users/pouchdb/received_events","type":"Organization","site_admin":false},"repo":{"id":714074,"name":"pouchdb","full_name":"pouchdb/pouchdb","owner":{"login":"pouchdb","id":3406112,"avatar_url":"https://avatars.githubusercontent.com/u/3406112?v=3","gravatar_id":"","url":"https://api.github.com/users/pouchdb","html_url":"https://github.com/pouchdb","followers_url":"https://api.github.com/users/pouchdb/followers","following_url":"https://api.github.com/users/pouchdb/following{/other_user}","gists_url":"https://api.github.com/users/pouchdb/gists{/gist_id}","starred_url":"https://api.github.com/users/pouchdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pouchdb/subscriptions","organizations_url":"https://api.github.com/users/pouchdb/orgs","repos_url":"https://api.github.com/users/pouchdb/repos","events_url":"https://api.github.com/users/pouchdb/events{/privacy}","received_events_url":"https://api.github.com/users/pouchdb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pouchdb/pouchdb","description":":koala: - PouchDB is a pocket-sized database.","fork":false,"url":"https://api.github.com/repos/pouchdb/pouchdb","forks_url":"https://api.github.com/repos/pouchdb/pouchdb/forks","keys_url":"https://api.github.com/repos/pouchdb/pouchdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pouchdb/pouchdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pouchdb/pouchdb/teams","hooks_url":"https://api.github.com/repos/pouchdb/pouchdb/hooks","issue_events_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/events{/number}","events_url":"https://api.github.com/repos/pouchdb/pouchdb/events","assignees_url":"https://api.github.com/repos/pouchdb/pouchdb/assignees{/user}","branches_url":"https://api.github.com/repos/pouchdb/pouchdb/branches{/branch}","tags_url":"https://api.github.com/repos/pouchdb/pouchdb/tags","blobs_url":"https://api.github.com/repos/pouchdb/pouchdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pouchdb/pouchdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pouchdb/pouchdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/pouchdb/pouchdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pouchdb/pouchdb/statuses/{sha}","languages_url":"https://api.github.com/repos/pouchdb/pouchdb/languages","stargazers_url":"https://api.github.com/repos/pouchdb/pouchdb/stargazers","contributors_url":"https://api.github.com/repos/pouchdb/pouchdb/contributors","subscribers_url":"https://api.github.com/repos/pouchdb/pouchdb/subscribers","subscription_url":"https://api.github.com/repos/pouchdb/pouchdb/subscription","commits_url":"https://api.github.com/repos/pouchdb/pouchdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/pouchdb/pouchdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/comments/{number}","contents_url":"https://api.github.com/repos/pouchdb/pouchdb/contents/{+path}","compare_url":"https://api.github.com/repos/pouchdb/pouchdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pouchdb/pouchdb/merges","archive_url":"https://api.github.com/repos/pouchdb/pouchdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pouchdb/pouchdb/downloads","issues_url":"https://api.github.com/repos/pouchdb/pouchdb/issues{/number}","pulls_url":"https://api.github.com/repos/pouchdb/pouchdb/pulls{/number}","milestones_url":"https://api.github.com/repos/pouchdb/pouchdb/milestones{/number}","notifications_url":"https://api.github.com/repos/pouchdb/pouchdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pouchdb/pouchdb/labels{/name}","releases_url":"https://api.github.com/repos/pouchdb/pouchdb/releases{/id}","created_at":"2010-06-10T18:34:24Z","updated_at":"2015-02-21T16:57:45Z","pushed_at":"2015-02-21T19:53:11Z","git_url":"git://github.com/pouchdb/pouchdb.git","ssh_url":"git@github.com:pouchdb/pouchdb.git","clone_url":"https://github.com/pouchdb/pouchdb.git","svn_url":"https://github.com/pouchdb/pouchdb","homepage":"http://pouchdb.com/","size":156903,"stargazers_count":3816,"watchers_count":3816,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":444,"mirror_url":null,"open_issues_count":289,"forks":444,"open_issues":289,"watchers":3816,"default_branch":"master"}},"base":{"label":"pouchdb:master","ref":"master","sha":"cd656e001c89e04a1b8e95f126a5e95bc7b1f287","user":{"login":"pouchdb","id":3406112,"avatar_url":"https://avatars.githubusercontent.com/u/3406112?v=3","gravatar_id":"","url":"https://api.github.com/users/pouchdb","html_url":"https://github.com/pouchdb","followers_url":"https://api.github.com/users/pouchdb/followers","following_url":"https://api.github.com/users/pouchdb/following{/other_user}","gists_url":"https://api.github.com/users/pouchdb/gists{/gist_id}","starred_url":"https://api.github.com/users/pouchdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pouchdb/subscriptions","organizations_url":"https://api.github.com/users/pouchdb/orgs","repos_url":"https://api.github.com/users/pouchdb/repos","events_url":"https://api.github.com/users/pouchdb/events{/privacy}","received_events_url":"https://api.github.com/users/pouchdb/received_events","type":"Organization","site_admin":false},"repo":{"id":714074,"name":"pouchdb","full_name":"pouchdb/pouchdb","owner":{"login":"pouchdb","id":3406112,"avatar_url":"https://avatars.githubusercontent.com/u/3406112?v=3","gravatar_id":"","url":"https://api.github.com/users/pouchdb","html_url":"https://github.com/pouchdb","followers_url":"https://api.github.com/users/pouchdb/followers","following_url":"https://api.github.com/users/pouchdb/following{/other_user}","gists_url":"https://api.github.com/users/pouchdb/gists{/gist_id}","starred_url":"https://api.github.com/users/pouchdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pouchdb/subscriptions","organizations_url":"https://api.github.com/users/pouchdb/orgs","repos_url":"https://api.github.com/users/pouchdb/repos","events_url":"https://api.github.com/users/pouchdb/events{/privacy}","received_events_url":"https://api.github.com/users/pouchdb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pouchdb/pouchdb","description":":koala: - PouchDB is a pocket-sized database.","fork":false,"url":"https://api.github.com/repos/pouchdb/pouchdb","forks_url":"https://api.github.com/repos/pouchdb/pouchdb/forks","keys_url":"https://api.github.com/repos/pouchdb/pouchdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pouchdb/pouchdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pouchdb/pouchdb/teams","hooks_url":"https://api.github.com/repos/pouchdb/pouchdb/hooks","issue_events_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/events{/number}","events_url":"https://api.github.com/repos/pouchdb/pouchdb/events","assignees_url":"https://api.github.com/repos/pouchdb/pouchdb/assignees{/user}","branches_url":"https://api.github.com/repos/pouchdb/pouchdb/branches{/branch}","tags_url":"https://api.github.com/repos/pouchdb/pouchdb/tags","blobs_url":"https://api.github.com/repos/pouchdb/pouchdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pouchdb/pouchdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pouchdb/pouchdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/pouchdb/pouchdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pouchdb/pouchdb/statuses/{sha}","languages_url":"https://api.github.com/repos/pouchdb/pouchdb/languages","stargazers_url":"https://api.github.com/repos/pouchdb/pouchdb/stargazers","contributors_url":"https://api.github.com/repos/pouchdb/pouchdb/contributors","subscribers_url":"https://api.github.com/repos/pouchdb/pouchdb/subscribers","subscription_url":"https://api.github.com/repos/pouchdb/pouchdb/subscription","commits_url":"https://api.github.com/repos/pouchdb/pouchdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/pouchdb/pouchdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/comments/{number}","contents_url":"https://api.github.com/repos/pouchdb/pouchdb/contents/{+path}","compare_url":"https://api.github.com/repos/pouchdb/pouchdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pouchdb/pouchdb/merges","archive_url":"https://api.github.com/repos/pouchdb/pouchdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pouchdb/pouchdb/downloads","issues_url":"https://api.github.com/repos/pouchdb/pouchdb/issues{/number}","pulls_url":"https://api.github.com/repos/pouchdb/pouchdb/pulls{/number}","milestones_url":"https://api.github.com/repos/pouchdb/pouchdb/milestones{/number}","notifications_url":"https://api.github.com/repos/pouchdb/pouchdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pouchdb/pouchdb/labels{/name}","releases_url":"https://api.github.com/repos/pouchdb/pouchdb/releases{/id}","created_at":"2010-06-10T18:34:24Z","updated_at":"2015-02-21T16:57:45Z","pushed_at":"2015-02-21T19:53:11Z","git_url":"git://github.com/pouchdb/pouchdb.git","ssh_url":"git@github.com:pouchdb/pouchdb.git","clone_url":"https://github.com/pouchdb/pouchdb.git","svn_url":"https://github.com/pouchdb/pouchdb","homepage":"http://pouchdb.com/","size":156903,"stargazers_count":3816,"watchers_count":3816,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":444,"mirror_url":null,"open_issues_count":289,"forks":444,"open_issues":289,"watchers":3816,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pouchdb/pouchdb/pulls/3557"},"html":{"href":"https://github.com/pouchdb/pouchdb/pull/3557"},"issue":{"href":"https://api.github.com/repos/pouchdb/pouchdb/issues/3557"},"comments":{"href":"https://api.github.com/repos/pouchdb/pouchdb/issues/3557/comments"},"review_comments":{"href":"https://api.github.com/repos/pouchdb/pouchdb/pulls/3557/comments"},"review_comment":{"href":"https://api.github.com/repos/pouchdb/pouchdb/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/pouchdb/pouchdb/pulls/3557/commits"},"statuses":{"href":"https://api.github.com/repos/pouchdb/pouchdb/statuses/ba8166a59f53ddb84e2d32aeeb036863c4577b2f"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":275,"deletions":238,"changed_files":4}}