{"action":"closed","number":76,"pull_request":{"url":"https://api.github.com/repos/couchbaselabs/node-ottoman/pulls/76","id":69198207,"html_url":"https://github.com/couchbaselabs/node-ottoman/pull/76","diff_url":"https://github.com/couchbaselabs/node-ottoman/pull/76.diff","patch_url":"https://github.com/couchbaselabs/node-ottoman/pull/76.patch","issue_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/issues/76","number":76,"state":"closed","locked":false,"title":"filters should handle boolean types","user":{"login":"erik-etops","id":16980743,"avatar_url":"https://avatars.githubusercontent.com/u/16980743?v=3","gravatar_id":"","url":"https://api.github.com/users/erik-etops","html_url":"https://github.com/erik-etops","followers_url":"https://api.github.com/users/erik-etops/followers","following_url":"https://api.github.com/users/erik-etops/following{/other_user}","gists_url":"https://api.github.com/users/erik-etops/gists{/gist_id}","starred_url":"https://api.github.com/users/erik-etops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erik-etops/subscriptions","organizations_url":"https://api.github.com/users/erik-etops/orgs","repos_url":"https://api.github.com/users/erik-etops/repos","events_url":"https://api.github.com/users/erik-etops/events{/privacy}","received_events_url":"https://api.github.com/users/erik-etops/received_events","type":"User","site_admin":false},"body":"This commit simply makes it possible for the queries that are constructed for n1ql indices to work if they are a boolean value. Someday it might be worth refactoring such that these data types are recognized from the schema instead of the function call but this works for now. ","created_at":"2016-05-06T19:26:06Z","updated_at":"2016-05-06T19:28:59Z","closed_at":"2016-05-06T19:28:59Z","merged_at":"2016-05-06T19:28:59Z","merge_commit_sha":"965d3d1a1a750edd860b709eb76e4fa851355675","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/pulls/76/commits","review_comments_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/pulls/76/comments","review_comment_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/pulls/comments{/number}","comments_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/issues/76/comments","statuses_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/statuses/f8ecab50f3d8cc5b55a796ff9c0c228bd17a2d9a","head":{"label":"erik-etops:test_dev","ref":"test_dev","sha":"f8ecab50f3d8cc5b55a796ff9c0c228bd17a2d9a","user":{"login":"erik-etops","id":16980743,"avatar_url":"https://avatars.githubusercontent.com/u/16980743?v=3","gravatar_id":"","url":"https://api.github.com/users/erik-etops","html_url":"https://github.com/erik-etops","followers_url":"https://api.github.com/users/erik-etops/followers","following_url":"https://api.github.com/users/erik-etops/following{/other_user}","gists_url":"https://api.github.com/users/erik-etops/gists{/gist_id}","starred_url":"https://api.github.com/users/erik-etops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erik-etops/subscriptions","organizations_url":"https://api.github.com/users/erik-etops/orgs","repos_url":"https://api.github.com/users/erik-etops/repos","events_url":"https://api.github.com/users/erik-etops/events{/privacy}","received_events_url":"https://api.github.com/users/erik-etops/received_events","type":"User","site_admin":false},"repo":{"id":53531373,"name":"node-ottoman","full_name":"erik-etops/node-ottoman","owner":{"login":"erik-etops","id":16980743,"avatar_url":"https://avatars.githubusercontent.com/u/16980743?v=3","gravatar_id":"","url":"https://api.github.com/users/erik-etops","html_url":"https://github.com/erik-etops","followers_url":"https://api.github.com/users/erik-etops/followers","following_url":"https://api.github.com/users/erik-etops/following{/other_user}","gists_url":"https://api.github.com/users/erik-etops/gists{/gist_id}","starred_url":"https://api.github.com/users/erik-etops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erik-etops/subscriptions","organizations_url":"https://api.github.com/users/erik-etops/orgs","repos_url":"https://api.github.com/users/erik-etops/repos","events_url":"https://api.github.com/users/erik-etops/events{/privacy}","received_events_url":"https://api.github.com/users/erik-etops/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/erik-etops/node-ottoman","description":"Node.js ODM for Couchbase","fork":true,"url":"https://api.github.com/repos/erik-etops/node-ottoman","forks_url":"https://api.github.com/repos/erik-etops/node-ottoman/forks","keys_url":"https://api.github.com/repos/erik-etops/node-ottoman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erik-etops/node-ottoman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erik-etops/node-ottoman/teams","hooks_url":"https://api.github.com/repos/erik-etops/node-ottoman/hooks","issue_events_url":"https://api.github.com/repos/erik-etops/node-ottoman/issues/events{/number}","events_url":"https://api.github.com/repos/erik-etops/node-ottoman/events","assignees_url":"https://api.github.com/repos/erik-etops/node-ottoman/assignees{/user}","branches_url":"https://api.github.com/repos/erik-etops/node-ottoman/branches{/branch}","tags_url":"https://api.github.com/repos/erik-etops/node-ottoman/tags","blobs_url":"https://api.github.com/repos/erik-etops/node-ottoman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erik-etops/node-ottoman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erik-etops/node-ottoman/git/refs{/sha}","trees_url":"https://api.github.com/repos/erik-etops/node-ottoman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erik-etops/node-ottoman/statuses/{sha}","languages_url":"https://api.github.com/repos/erik-etops/node-ottoman/languages","stargazers_url":"https://api.github.com/repos/erik-etops/node-ottoman/stargazers","contributors_url":"https://api.github.com/repos/erik-etops/node-ottoman/contributors","subscribers_url":"https://api.github.com/repos/erik-etops/node-ottoman/subscribers","subscription_url":"https://api.github.com/repos/erik-etops/node-ottoman/subscription","commits_url":"https://api.github.com/repos/erik-etops/node-ottoman/commits{/sha}","git_commits_url":"https://api.github.com/repos/erik-etops/node-ottoman/git/commits{/sha}","comments_url":"https://api.github.com/repos/erik-etops/node-ottoman/comments{/number}","issue_comment_url":"https://api.github.com/repos/erik-etops/node-ottoman/issues/comments{/number}","contents_url":"https://api.github.com/repos/erik-etops/node-ottoman/contents/{+path}","compare_url":"https://api.github.com/repos/erik-etops/node-ottoman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erik-etops/node-ottoman/merges","archive_url":"https://api.github.com/repos/erik-etops/node-ottoman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erik-etops/node-ottoman/downloads","issues_url":"https://api.github.com/repos/erik-etops/node-ottoman/issues{/number}","pulls_url":"https://api.github.com/repos/erik-etops/node-ottoman/pulls{/number}","milestones_url":"https://api.github.com/repos/erik-etops/node-ottoman/milestones{/number}","notifications_url":"https://api.github.com/repos/erik-etops/node-ottoman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erik-etops/node-ottoman/labels{/name}","releases_url":"https://api.github.com/repos/erik-etops/node-ottoman/releases{/id}","deployments_url":"https://api.github.com/repos/erik-etops/node-ottoman/deployments","created_at":"2016-03-09T20:59:54Z","updated_at":"2016-03-09T20:59:55Z","pushed_at":"2016-05-06T19:23:23Z","git_url":"git://github.com/erik-etops/node-ottoman.git","ssh_url":"git@github.com:erik-etops/node-ottoman.git","clone_url":"https://github.com/erik-etops/node-ottoman.git","svn_url":"https://github.com/erik-etops/node-ottoman","homepage":"","size":604,"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":"couchbaselabs:master","ref":"master","sha":"2893fe1ca61a05547970d5c5573c083c239a8ad8","user":{"login":"couchbaselabs","id":636956,"avatar_url":"https://avatars.githubusercontent.com/u/636956?v=3","gravatar_id":"","url":"https://api.github.com/users/couchbaselabs","html_url":"https://github.com/couchbaselabs","followers_url":"https://api.github.com/users/couchbaselabs/followers","following_url":"https://api.github.com/users/couchbaselabs/following{/other_user}","gists_url":"https://api.github.com/users/couchbaselabs/gists{/gist_id}","starred_url":"https://api.github.com/users/couchbaselabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/couchbaselabs/subscriptions","organizations_url":"https://api.github.com/users/couchbaselabs/orgs","repos_url":"https://api.github.com/users/couchbaselabs/repos","events_url":"https://api.github.com/users/couchbaselabs/events{/privacy}","received_events_url":"https://api.github.com/users/couchbaselabs/received_events","type":"Organization","site_admin":false},"repo":{"id":14315304,"name":"node-ottoman","full_name":"couchbaselabs/node-ottoman","owner":{"login":"couchbaselabs","id":636956,"avatar_url":"https://avatars.githubusercontent.com/u/636956?v=3","gravatar_id":"","url":"https://api.github.com/users/couchbaselabs","html_url":"https://github.com/couchbaselabs","followers_url":"https://api.github.com/users/couchbaselabs/followers","following_url":"https://api.github.com/users/couchbaselabs/following{/other_user}","gists_url":"https://api.github.com/users/couchbaselabs/gists{/gist_id}","starred_url":"https://api.github.com/users/couchbaselabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/couchbaselabs/subscriptions","organizations_url":"https://api.github.com/users/couchbaselabs/orgs","repos_url":"https://api.github.com/users/couchbaselabs/repos","events_url":"https://api.github.com/users/couchbaselabs/events{/privacy}","received_events_url":"https://api.github.com/users/couchbaselabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/couchbaselabs/node-ottoman","description":"Node.js ODM for Couchbase","fork":false,"url":"https://api.github.com/repos/couchbaselabs/node-ottoman","forks_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/forks","keys_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/teams","hooks_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/hooks","issue_events_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/issues/events{/number}","events_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/events","assignees_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/assignees{/user}","branches_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/branches{/branch}","tags_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/tags","blobs_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/git/refs{/sha}","trees_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/statuses/{sha}","languages_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/languages","stargazers_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/stargazers","contributors_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/contributors","subscribers_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/subscribers","subscription_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/subscription","commits_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/commits{/sha}","git_commits_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/git/commits{/sha}","comments_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/comments{/number}","issue_comment_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/issues/comments{/number}","contents_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/contents/{+path}","compare_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/merges","archive_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/downloads","issues_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/issues{/number}","pulls_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/pulls{/number}","milestones_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/milestones{/number}","notifications_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/labels{/name}","releases_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/releases{/id}","deployments_url":"https://api.github.com/repos/couchbaselabs/node-ottoman/deployments","created_at":"2013-11-11T22:23:29Z","updated_at":"2016-05-06T05:22:35Z","pushed_at":"2016-05-06T19:28:59Z","git_url":"git://github.com/couchbaselabs/node-ottoman.git","ssh_url":"git@github.com:couchbaselabs/node-ottoman.git","clone_url":"https://github.com/couchbaselabs/node-ottoman.git","svn_url":"https://github.com/couchbaselabs/node-ottoman","homepage":"","size":619,"stargazers_count":96,"watchers_count":96,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":34,"mirror_url":null,"open_issues_count":14,"forks":34,"open_issues":14,"watchers":96,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/couchbaselabs/node-ottoman/pulls/76"},"html":{"href":"https://github.com/couchbaselabs/node-ottoman/pull/76"},"issue":{"href":"https://api.github.com/repos/couchbaselabs/node-ottoman/issues/76"},"comments":{"href":"https://api.github.com/repos/couchbaselabs/node-ottoman/issues/76/comments"},"review_comments":{"href":"https://api.github.com/repos/couchbaselabs/node-ottoman/pulls/76/comments"},"review_comment":{"href":"https://api.github.com/repos/couchbaselabs/node-ottoman/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/couchbaselabs/node-ottoman/pulls/76/commits"},"statuses":{"href":"https://api.github.com/repos/couchbaselabs/node-ottoman/statuses/f8ecab50f3d8cc5b55a796ff9c0c228bd17a2d9a"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"brett19","id":1621627,"avatar_url":"https://avatars.githubusercontent.com/u/1621627?v=3","gravatar_id":"","url":"https://api.github.com/users/brett19","html_url":"https://github.com/brett19","followers_url":"https://api.github.com/users/brett19/followers","following_url":"https://api.github.com/users/brett19/following{/other_user}","gists_url":"https://api.github.com/users/brett19/gists{/gist_id}","starred_url":"https://api.github.com/users/brett19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brett19/subscriptions","organizations_url":"https://api.github.com/users/brett19/orgs","repos_url":"https://api.github.com/users/brett19/repos","events_url":"https://api.github.com/users/brett19/events{/privacy}","received_events_url":"https://api.github.com/users/brett19/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}