{"action":"closed","number":169,"pull_request":{"url":"https://api.github.com/repos/bitnine-oss/agensgraph/pulls/169","id":106842987,"html_url":"https://github.com/bitnine-oss/agensgraph/pull/169","diff_url":"https://github.com/bitnine-oss/agensgraph/pull/169.diff","patch_url":"https://github.com/bitnine-oss/agensgraph/pull/169.patch","issue_url":"https://api.github.com/repos/bitnine-oss/agensgraph/issues/169","number":169,"state":"closed","locked":false,"title":"feat: Make use of property index for property constraints","user":{"login":"protodef","id":11454718,"avatar_url":"https://avatars.githubusercontent.com/u/11454718?v=3","gravatar_id":"","url":"https://api.github.com/users/protodef","html_url":"https://github.com/protodef","followers_url":"https://api.github.com/users/protodef/followers","following_url":"https://api.github.com/users/protodef/following{/other_user}","gists_url":"https://api.github.com/users/protodef/gists{/gist_id}","starred_url":"https://api.github.com/users/protodef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/protodef/subscriptions","organizations_url":"https://api.github.com/users/protodef/orgs","repos_url":"https://api.github.com/users/protodef/repos","events_url":"https://api.github.com/users/protodef/events{/privacy}","received_events_url":"https://api.github.com/users/protodef/received_events","type":"User","site_admin":false},"body":"Given a property constraint like `{name: {first: 'Tom'}, age: 30}`,\r\nit will be transformed to as below.\r\n```\r\nWHERE properties #>> '{name,first}'::text[] AND\r\n      properties #>> '{age}'::text[]\r\n```\r\nAnd if one of the target label and its sub-labels has a GIN index on\r\nthe `properties` column, it will add the following qualification.\r\n`properties @> jsonb_build_object(...)`","created_at":"2017-02-18T02:02:02Z","updated_at":"2017-02-23T23:19:25Z","closed_at":"2017-02-23T23:19:25Z","merged_at":null,"merge_commit_sha":"0acc4b54a7aafd8ecaad6bd4046cab69c099eb15","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/bitnine-oss/agensgraph/pulls/169/commits","review_comments_url":"https://api.github.com/repos/bitnine-oss/agensgraph/pulls/169/comments","review_comment_url":"https://api.github.com/repos/bitnine-oss/agensgraph/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bitnine-oss/agensgraph/issues/169/comments","statuses_url":"https://api.github.com/repos/bitnine-oss/agensgraph/statuses/0f726156542b8d7bea8a347f11babcc168d4a4d3","head":{"label":"protodef:prop-constr","ref":"prop-constr","sha":"0f726156542b8d7bea8a347f11babcc168d4a4d3","user":{"login":"protodef","id":11454718,"avatar_url":"https://avatars.githubusercontent.com/u/11454718?v=3","gravatar_id":"","url":"https://api.github.com/users/protodef","html_url":"https://github.com/protodef","followers_url":"https://api.github.com/users/protodef/followers","following_url":"https://api.github.com/users/protodef/following{/other_user}","gists_url":"https://api.github.com/users/protodef/gists{/gist_id}","starred_url":"https://api.github.com/users/protodef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/protodef/subscriptions","organizations_url":"https://api.github.com/users/protodef/orgs","repos_url":"https://api.github.com/users/protodef/repos","events_url":"https://api.github.com/users/protodef/events{/privacy}","received_events_url":"https://api.github.com/users/protodef/received_events","type":"User","site_admin":false},"repo":{"id":57409708,"name":"agensgraph","full_name":"protodef/agensgraph","owner":{"login":"protodef","id":11454718,"avatar_url":"https://avatars.githubusercontent.com/u/11454718?v=3","gravatar_id":"","url":"https://api.github.com/users/protodef","html_url":"https://github.com/protodef","followers_url":"https://api.github.com/users/protodef/followers","following_url":"https://api.github.com/users/protodef/following{/other_user}","gists_url":"https://api.github.com/users/protodef/gists{/gist_id}","starred_url":"https://api.github.com/users/protodef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/protodef/subscriptions","organizations_url":"https://api.github.com/users/protodef/orgs","repos_url":"https://api.github.com/users/protodef/repos","events_url":"https://api.github.com/users/protodef/events{/privacy}","received_events_url":"https://api.github.com/users/protodef/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/protodef/agensgraph","description":"Agens Graph, a transactional graph database based on PostgreSQL","fork":true,"url":"https://api.github.com/repos/protodef/agensgraph","forks_url":"https://api.github.com/repos/protodef/agensgraph/forks","keys_url":"https://api.github.com/repos/protodef/agensgraph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/protodef/agensgraph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/protodef/agensgraph/teams","hooks_url":"https://api.github.com/repos/protodef/agensgraph/hooks","issue_events_url":"https://api.github.com/repos/protodef/agensgraph/issues/events{/number}","events_url":"https://api.github.com/repos/protodef/agensgraph/events","assignees_url":"https://api.github.com/repos/protodef/agensgraph/assignees{/user}","branches_url":"https://api.github.com/repos/protodef/agensgraph/branches{/branch}","tags_url":"https://api.github.com/repos/protodef/agensgraph/tags","blobs_url":"https://api.github.com/repos/protodef/agensgraph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/protodef/agensgraph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/protodef/agensgraph/git/refs{/sha}","trees_url":"https://api.github.com/repos/protodef/agensgraph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/protodef/agensgraph/statuses/{sha}","languages_url":"https://api.github.com/repos/protodef/agensgraph/languages","stargazers_url":"https://api.github.com/repos/protodef/agensgraph/stargazers","contributors_url":"https://api.github.com/repos/protodef/agensgraph/contributors","subscribers_url":"https://api.github.com/repos/protodef/agensgraph/subscribers","subscription_url":"https://api.github.com/repos/protodef/agensgraph/subscription","commits_url":"https://api.github.com/repos/protodef/agensgraph/commits{/sha}","git_commits_url":"https://api.github.com/repos/protodef/agensgraph/git/commits{/sha}","comments_url":"https://api.github.com/repos/protodef/agensgraph/comments{/number}","issue_comment_url":"https://api.github.com/repos/protodef/agensgraph/issues/comments{/number}","contents_url":"https://api.github.com/repos/protodef/agensgraph/contents/{+path}","compare_url":"https://api.github.com/repos/protodef/agensgraph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/protodef/agensgraph/merges","archive_url":"https://api.github.com/repos/protodef/agensgraph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/protodef/agensgraph/downloads","issues_url":"https://api.github.com/repos/protodef/agensgraph/issues{/number}","pulls_url":"https://api.github.com/repos/protodef/agensgraph/pulls{/number}","milestones_url":"https://api.github.com/repos/protodef/agensgraph/milestones{/number}","notifications_url":"https://api.github.com/repos/protodef/agensgraph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/protodef/agensgraph/labels{/name}","releases_url":"https://api.github.com/repos/protodef/agensgraph/releases{/id}","deployments_url":"https://api.github.com/repos/protodef/agensgraph/deployments","created_at":"2016-04-29T20:01:44Z","updated_at":"2017-02-22T22:06:30Z","pushed_at":"2017-02-22T23:16:01Z","git_url":"git://github.com/protodef/agensgraph.git","ssh_url":"git@github.com:protodef/agensgraph.git","clone_url":"https://github.com/protodef/agensgraph.git","svn_url":"https://github.com/protodef/agensgraph","homepage":"","size":24980,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"bitnine-oss:master","ref":"master","sha":"3c56e2d42aed8b9ef71d80495fea082409489013","user":{"login":"bitnine-oss","id":11768100,"avatar_url":"https://avatars.githubusercontent.com/u/11768100?v=3","gravatar_id":"","url":"https://api.github.com/users/bitnine-oss","html_url":"https://github.com/bitnine-oss","followers_url":"https://api.github.com/users/bitnine-oss/followers","following_url":"https://api.github.com/users/bitnine-oss/following{/other_user}","gists_url":"https://api.github.com/users/bitnine-oss/gists{/gist_id}","starred_url":"https://api.github.com/users/bitnine-oss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitnine-oss/subscriptions","organizations_url":"https://api.github.com/users/bitnine-oss/orgs","repos_url":"https://api.github.com/users/bitnine-oss/repos","events_url":"https://api.github.com/users/bitnine-oss/events{/privacy}","received_events_url":"https://api.github.com/users/bitnine-oss/received_events","type":"Organization","site_admin":false},"repo":{"id":57401138,"name":"agensgraph","full_name":"bitnine-oss/agensgraph","owner":{"login":"bitnine-oss","id":11768100,"avatar_url":"https://avatars.githubusercontent.com/u/11768100?v=3","gravatar_id":"","url":"https://api.github.com/users/bitnine-oss","html_url":"https://github.com/bitnine-oss","followers_url":"https://api.github.com/users/bitnine-oss/followers","following_url":"https://api.github.com/users/bitnine-oss/following{/other_user}","gists_url":"https://api.github.com/users/bitnine-oss/gists{/gist_id}","starred_url":"https://api.github.com/users/bitnine-oss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitnine-oss/subscriptions","organizations_url":"https://api.github.com/users/bitnine-oss/orgs","repos_url":"https://api.github.com/users/bitnine-oss/repos","events_url":"https://api.github.com/users/bitnine-oss/events{/privacy}","received_events_url":"https://api.github.com/users/bitnine-oss/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bitnine-oss/agensgraph","description":"Agens Graph, a transactional graph database based on PostgreSQL","fork":false,"url":"https://api.github.com/repos/bitnine-oss/agensgraph","forks_url":"https://api.github.com/repos/bitnine-oss/agensgraph/forks","keys_url":"https://api.github.com/repos/bitnine-oss/agensgraph/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitnine-oss/agensgraph/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitnine-oss/agensgraph/teams","hooks_url":"https://api.github.com/repos/bitnine-oss/agensgraph/hooks","issue_events_url":"https://api.github.com/repos/bitnine-oss/agensgraph/issues/events{/number}","events_url":"https://api.github.com/repos/bitnine-oss/agensgraph/events","assignees_url":"https://api.github.com/repos/bitnine-oss/agensgraph/assignees{/user}","branches_url":"https://api.github.com/repos/bitnine-oss/agensgraph/branches{/branch}","tags_url":"https://api.github.com/repos/bitnine-oss/agensgraph/tags","blobs_url":"https://api.github.com/repos/bitnine-oss/agensgraph/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitnine-oss/agensgraph/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitnine-oss/agensgraph/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitnine-oss/agensgraph/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitnine-oss/agensgraph/statuses/{sha}","languages_url":"https://api.github.com/repos/bitnine-oss/agensgraph/languages","stargazers_url":"https://api.github.com/repos/bitnine-oss/agensgraph/stargazers","contributors_url":"https://api.github.com/repos/bitnine-oss/agensgraph/contributors","subscribers_url":"https://api.github.com/repos/bitnine-oss/agensgraph/subscribers","subscription_url":"https://api.github.com/repos/bitnine-oss/agensgraph/subscription","commits_url":"https://api.github.com/repos/bitnine-oss/agensgraph/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitnine-oss/agensgraph/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitnine-oss/agensgraph/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitnine-oss/agensgraph/issues/comments{/number}","contents_url":"https://api.github.com/repos/bitnine-oss/agensgraph/contents/{+path}","compare_url":"https://api.github.com/repos/bitnine-oss/agensgraph/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitnine-oss/agensgraph/merges","archive_url":"https://api.github.com/repos/bitnine-oss/agensgraph/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitnine-oss/agensgraph/downloads","issues_url":"https://api.github.com/repos/bitnine-oss/agensgraph/issues{/number}","pulls_url":"https://api.github.com/repos/bitnine-oss/agensgraph/pulls{/number}","milestones_url":"https://api.github.com/repos/bitnine-oss/agensgraph/milestones{/number}","notifications_url":"https://api.github.com/repos/bitnine-oss/agensgraph/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitnine-oss/agensgraph/labels{/name}","releases_url":"https://api.github.com/repos/bitnine-oss/agensgraph/releases{/id}","deployments_url":"https://api.github.com/repos/bitnine-oss/agensgraph/deployments","created_at":"2016-04-29T17:19:07Z","updated_at":"2017-02-22T18:13:09Z","pushed_at":"2017-02-23T23:15:15Z","git_url":"git://github.com/bitnine-oss/agensgraph.git","ssh_url":"git@github.com:bitnine-oss/agensgraph.git","clone_url":"https://github.com/bitnine-oss/agensgraph.git","svn_url":"https://github.com/bitnine-oss/agensgraph","homepage":"","size":24984,"stargazers_count":24,"watchers_count":24,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":9,"forks":8,"open_issues":9,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bitnine-oss/agensgraph/pulls/169"},"html":{"href":"https://github.com/bitnine-oss/agensgraph/pull/169"},"issue":{"href":"https://api.github.com/repos/bitnine-oss/agensgraph/issues/169"},"comments":{"href":"https://api.github.com/repos/bitnine-oss/agensgraph/issues/169/comments"},"review_comments":{"href":"https://api.github.com/repos/bitnine-oss/agensgraph/pulls/169/comments"},"review_comment":{"href":"https://api.github.com/repos/bitnine-oss/agensgraph/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bitnine-oss/agensgraph/pulls/169/commits"},"statuses":{"href":"https://api.github.com/repos/bitnine-oss/agensgraph/statuses/0f726156542b8d7bea8a347f11babcc168d4a4d3"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":4,"maintainer_can_modify":false,"commits":1,"additions":332,"deletions":7,"changed_files":1}}
{"actor":{"display_login":"mlogue"}}