{"action":"closed","number":141,"pull_request":{"url":"https://api.github.com/repos/mafintosh/hyperdb/pulls/141","id":199914592,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5OTE0NTky","html_url":"https://github.com/mafintosh/hyperdb/pull/141","diff_url":"https://github.com/mafintosh/hyperdb/pull/141.diff","patch_url":"https://github.com/mafintosh/hyperdb/pull/141.patch","issue_url":"https://api.github.com/repos/mafintosh/hyperdb/issues/141","number":141,"state":"closed","locked":false,"title":"batch needs to normlize key","user":{"login":"doraemondrian","id":33023863,"node_id":"MDQ6VXNlcjMzMDIzODYz","avatar_url":"https://avatars2.githubusercontent.com/u/33023863?v=4","gravatar_id":"","url":"https://api.github.com/users/doraemondrian","html_url":"https://github.com/doraemondrian","followers_url":"https://api.github.com/users/doraemondrian/followers","following_url":"https://api.github.com/users/doraemondrian/following{/other_user}","gists_url":"https://api.github.com/users/doraemondrian/gists{/gist_id}","starred_url":"https://api.github.com/users/doraemondrian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doraemondrian/subscriptions","organizations_url":"https://api.github.com/users/doraemondrian/orgs","repos_url":"https://api.github.com/users/doraemondrian/repos","events_url":"https://api.github.com/users/doraemondrian/events{/privacy}","received_events_url":"https://api.github.com/users/doraemondrian/received_events","type":"User","site_admin":false},"body":"batching doesn't normalize the key before calling put, and this leads to [isPrefix()](https://github.com/doraemondrian/hyperdb/blob/master/lib/iterator.js#L232) to return false later, resulting in `null` results for queries.","created_at":"2018-07-07T21:38:34Z","updated_at":"2018-07-15T10:31:06Z","closed_at":"2018-07-15T10:31:06Z","merged_at":"2018-07-15T10:31:06Z","merge_commit_sha":"c73711bf2eef39ec91b4e005899a84e6d48d009f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mafintosh/hyperdb/pulls/141/commits","review_comments_url":"https://api.github.com/repos/mafintosh/hyperdb/pulls/141/comments","review_comment_url":"https://api.github.com/repos/mafintosh/hyperdb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mafintosh/hyperdb/issues/141/comments","statuses_url":"https://api.github.com/repos/mafintosh/hyperdb/statuses/6693322c3958410c3da8ed57820e8ad7998ae09c","head":{"label":"doraemondrian:master","ref":"master","sha":"6693322c3958410c3da8ed57820e8ad7998ae09c","user":{"login":"doraemondrian","id":33023863,"node_id":"MDQ6VXNlcjMzMDIzODYz","avatar_url":"https://avatars2.githubusercontent.com/u/33023863?v=4","gravatar_id":"","url":"https://api.github.com/users/doraemondrian","html_url":"https://github.com/doraemondrian","followers_url":"https://api.github.com/users/doraemondrian/followers","following_url":"https://api.github.com/users/doraemondrian/following{/other_user}","gists_url":"https://api.github.com/users/doraemondrian/gists{/gist_id}","starred_url":"https://api.github.com/users/doraemondrian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doraemondrian/subscriptions","organizations_url":"https://api.github.com/users/doraemondrian/orgs","repos_url":"https://api.github.com/users/doraemondrian/repos","events_url":"https://api.github.com/users/doraemondrian/events{/privacy}","received_events_url":"https://api.github.com/users/doraemondrian/received_events","type":"User","site_admin":false},"repo":{"id":140117984,"node_id":"MDEwOlJlcG9zaXRvcnkxNDAxMTc5ODQ=","name":"hyperdb","full_name":"doraemondrian/hyperdb","owner":{"login":"doraemondrian","id":33023863,"node_id":"MDQ6VXNlcjMzMDIzODYz","avatar_url":"https://avatars2.githubusercontent.com/u/33023863?v=4","gravatar_id":"","url":"https://api.github.com/users/doraemondrian","html_url":"https://github.com/doraemondrian","followers_url":"https://api.github.com/users/doraemondrian/followers","following_url":"https://api.github.com/users/doraemondrian/following{/other_user}","gists_url":"https://api.github.com/users/doraemondrian/gists{/gist_id}","starred_url":"https://api.github.com/users/doraemondrian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doraemondrian/subscriptions","organizations_url":"https://api.github.com/users/doraemondrian/orgs","repos_url":"https://api.github.com/users/doraemondrian/repos","events_url":"https://api.github.com/users/doraemondrian/events{/privacy}","received_events_url":"https://api.github.com/users/doraemondrian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/doraemondrian/hyperdb","description":"Distributed scalable database","fork":true,"url":"https://api.github.com/repos/doraemondrian/hyperdb","forks_url":"https://api.github.com/repos/doraemondrian/hyperdb/forks","keys_url":"https://api.github.com/repos/doraemondrian/hyperdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/doraemondrian/hyperdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/doraemondrian/hyperdb/teams","hooks_url":"https://api.github.com/repos/doraemondrian/hyperdb/hooks","issue_events_url":"https://api.github.com/repos/doraemondrian/hyperdb/issues/events{/number}","events_url":"https://api.github.com/repos/doraemondrian/hyperdb/events","assignees_url":"https://api.github.com/repos/doraemondrian/hyperdb/assignees{/user}","branches_url":"https://api.github.com/repos/doraemondrian/hyperdb/branches{/branch}","tags_url":"https://api.github.com/repos/doraemondrian/hyperdb/tags","blobs_url":"https://api.github.com/repos/doraemondrian/hyperdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/doraemondrian/hyperdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/doraemondrian/hyperdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/doraemondrian/hyperdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/doraemondrian/hyperdb/statuses/{sha}","languages_url":"https://api.github.com/repos/doraemondrian/hyperdb/languages","stargazers_url":"https://api.github.com/repos/doraemondrian/hyperdb/stargazers","contributors_url":"https://api.github.com/repos/doraemondrian/hyperdb/contributors","subscribers_url":"https://api.github.com/repos/doraemondrian/hyperdb/subscribers","subscription_url":"https://api.github.com/repos/doraemondrian/hyperdb/subscription","commits_url":"https://api.github.com/repos/doraemondrian/hyperdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/doraemondrian/hyperdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/doraemondrian/hyperdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/doraemondrian/hyperdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/doraemondrian/hyperdb/contents/{+path}","compare_url":"https://api.github.com/repos/doraemondrian/hyperdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/doraemondrian/hyperdb/merges","archive_url":"https://api.github.com/repos/doraemondrian/hyperdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/doraemondrian/hyperdb/downloads","issues_url":"https://api.github.com/repos/doraemondrian/hyperdb/issues{/number}","pulls_url":"https://api.github.com/repos/doraemondrian/hyperdb/pulls{/number}","milestones_url":"https://api.github.com/repos/doraemondrian/hyperdb/milestones{/number}","notifications_url":"https://api.github.com/repos/doraemondrian/hyperdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/doraemondrian/hyperdb/labels{/name}","releases_url":"https://api.github.com/repos/doraemondrian/hyperdb/releases{/id}","deployments_url":"https://api.github.com/repos/doraemondrian/hyperdb/deployments","created_at":"2018-07-07T21:32:07Z","updated_at":"2018-07-07T21:38:06Z","pushed_at":"2018-07-07T21:38:04Z","git_url":"git://github.com/doraemondrian/hyperdb.git","ssh_url":"git@github.com:doraemondrian/hyperdb.git","clone_url":"https://github.com/doraemondrian/hyperdb.git","svn_url":"https://github.com/doraemondrian/hyperdb","homepage":"","size":315,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mafintosh:master","ref":"master","sha":"dd38ddb9900f7978efd752ce2041a2bd7d5f7e93","user":{"login":"mafintosh","id":376661,"node_id":"MDQ6VXNlcjM3NjY2MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/376661?v=4","gravatar_id":"","url":"https://api.github.com/users/mafintosh","html_url":"https://github.com/mafintosh","followers_url":"https://api.github.com/users/mafintosh/followers","following_url":"https://api.github.com/users/mafintosh/following{/other_user}","gists_url":"https://api.github.com/users/mafintosh/gists{/gist_id}","starred_url":"https://api.github.com/users/mafintosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mafintosh/subscriptions","organizations_url":"https://api.github.com/users/mafintosh/orgs","repos_url":"https://api.github.com/users/mafintosh/repos","events_url":"https://api.github.com/users/mafintosh/events{/privacy}","received_events_url":"https://api.github.com/users/mafintosh/received_events","type":"User","site_admin":false},"repo":{"id":29986263,"node_id":"MDEwOlJlcG9zaXRvcnkyOTk4NjI2Mw==","name":"hyperdb","full_name":"mafintosh/hyperdb","owner":{"login":"mafintosh","id":376661,"node_id":"MDQ6VXNlcjM3NjY2MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/376661?v=4","gravatar_id":"","url":"https://api.github.com/users/mafintosh","html_url":"https://github.com/mafintosh","followers_url":"https://api.github.com/users/mafintosh/followers","following_url":"https://api.github.com/users/mafintosh/following{/other_user}","gists_url":"https://api.github.com/users/mafintosh/gists{/gist_id}","starred_url":"https://api.github.com/users/mafintosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mafintosh/subscriptions","organizations_url":"https://api.github.com/users/mafintosh/orgs","repos_url":"https://api.github.com/users/mafintosh/repos","events_url":"https://api.github.com/users/mafintosh/events{/privacy}","received_events_url":"https://api.github.com/users/mafintosh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mafintosh/hyperdb","description":"Distributed scalable database","fork":false,"url":"https://api.github.com/repos/mafintosh/hyperdb","forks_url":"https://api.github.com/repos/mafintosh/hyperdb/forks","keys_url":"https://api.github.com/repos/mafintosh/hyperdb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mafintosh/hyperdb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mafintosh/hyperdb/teams","hooks_url":"https://api.github.com/repos/mafintosh/hyperdb/hooks","issue_events_url":"https://api.github.com/repos/mafintosh/hyperdb/issues/events{/number}","events_url":"https://api.github.com/repos/mafintosh/hyperdb/events","assignees_url":"https://api.github.com/repos/mafintosh/hyperdb/assignees{/user}","branches_url":"https://api.github.com/repos/mafintosh/hyperdb/branches{/branch}","tags_url":"https://api.github.com/repos/mafintosh/hyperdb/tags","blobs_url":"https://api.github.com/repos/mafintosh/hyperdb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mafintosh/hyperdb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mafintosh/hyperdb/git/refs{/sha}","trees_url":"https://api.github.com/repos/mafintosh/hyperdb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mafintosh/hyperdb/statuses/{sha}","languages_url":"https://api.github.com/repos/mafintosh/hyperdb/languages","stargazers_url":"https://api.github.com/repos/mafintosh/hyperdb/stargazers","contributors_url":"https://api.github.com/repos/mafintosh/hyperdb/contributors","subscribers_url":"https://api.github.com/repos/mafintosh/hyperdb/subscribers","subscription_url":"https://api.github.com/repos/mafintosh/hyperdb/subscription","commits_url":"https://api.github.com/repos/mafintosh/hyperdb/commits{/sha}","git_commits_url":"https://api.github.com/repos/mafintosh/hyperdb/git/commits{/sha}","comments_url":"https://api.github.com/repos/mafintosh/hyperdb/comments{/number}","issue_comment_url":"https://api.github.com/repos/mafintosh/hyperdb/issues/comments{/number}","contents_url":"https://api.github.com/repos/mafintosh/hyperdb/contents/{+path}","compare_url":"https://api.github.com/repos/mafintosh/hyperdb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mafintosh/hyperdb/merges","archive_url":"https://api.github.com/repos/mafintosh/hyperdb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mafintosh/hyperdb/downloads","issues_url":"https://api.github.com/repos/mafintosh/hyperdb/issues{/number}","pulls_url":"https://api.github.com/repos/mafintosh/hyperdb/pulls{/number}","milestones_url":"https://api.github.com/repos/mafintosh/hyperdb/milestones{/number}","notifications_url":"https://api.github.com/repos/mafintosh/hyperdb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mafintosh/hyperdb/labels{/name}","releases_url":"https://api.github.com/repos/mafintosh/hyperdb/releases{/id}","deployments_url":"https://api.github.com/repos/mafintosh/hyperdb/deployments","created_at":"2015-01-28T20:15:30Z","updated_at":"2018-07-15T10:30:03Z","pushed_at":"2018-07-15T10:31:06Z","git_url":"git://github.com/mafintosh/hyperdb.git","ssh_url":"git@github.com:mafintosh/hyperdb.git","clone_url":"https://github.com/mafintosh/hyperdb.git","svn_url":"https://github.com/mafintosh/hyperdb","homepage":"","size":297,"stargazers_count":506,"watchers_count":506,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":54,"mirror_url":null,"archived":false,"open_issues_count":34,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":54,"open_issues":34,"watchers":506,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mafintosh/hyperdb/pulls/141"},"html":{"href":"https://github.com/mafintosh/hyperdb/pull/141"},"issue":{"href":"https://api.github.com/repos/mafintosh/hyperdb/issues/141"},"comments":{"href":"https://api.github.com/repos/mafintosh/hyperdb/issues/141/comments"},"review_comments":{"href":"https://api.github.com/repos/mafintosh/hyperdb/pulls/141/comments"},"review_comment":{"href":"https://api.github.com/repos/mafintosh/hyperdb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mafintosh/hyperdb/pulls/141/commits"},"statuses":{"href":"https://api.github.com/repos/mafintosh/hyperdb/statuses/6693322c3958410c3da8ed57820e8ad7998ae09c"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"mafintosh","id":376661,"node_id":"MDQ6VXNlcjM3NjY2MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/376661?v=4","gravatar_id":"","url":"https://api.github.com/users/mafintosh","html_url":"https://github.com/mafintosh","followers_url":"https://api.github.com/users/mafintosh/followers","following_url":"https://api.github.com/users/mafintosh/following{/other_user}","gists_url":"https://api.github.com/users/mafintosh/gists{/gist_id}","starred_url":"https://api.github.com/users/mafintosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mafintosh/subscriptions","organizations_url":"https://api.github.com/users/mafintosh/orgs","repos_url":"https://api.github.com/users/mafintosh/repos","events_url":"https://api.github.com/users/mafintosh/events{/privacy}","received_events_url":"https://api.github.com/users/mafintosh/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"mafintosh"}}