{"action":"created","comment":{"url":"https://api.github.com/repos/vertexproject/synapse/pulls/comments/155400688","pull_request_review_id":81714193,"id":155400688,"diff_hunk":"@@ -11,85 +15,339 @@ Where specific query examples are given, they are commonly provided in pairs usi\n \n pivot()\n -------\n-Todo\n+Returns a set of nodes that share a specified property of the same type / valu as the original set of nodes.\n+\n+Optional parameters:\n+\n+* **Return limit:** specify the maximum number of nodes returned by the ``pivot()`` query.\n+\n+  * ``limit=`` (operational syntax)\n+  * ``^`` (macro syntax)\n+\n+**Operator syntax:**\n+\n+.. parsed-literal::\n+\n+  **pivot(** [ *<srcprop>* **,** ] *<dstprop>* [ **, limit=** *<limit>* ] **)**\n+\n+**Macro syntax:**\n+\n+.. parsed-literal::\n+\n+  [ *<srcprop>* **^** *<limit>* ] **->** *<dstprop>*","path":"docs/synapse/userguides/ug015_storm_ref_pivot.rst","position":35,"original_position":35,"commit_id":"46411ba3bbf2ac616b455168667dfa74360af835","original_commit_id":"46411ba3bbf2ac616b455168667dfa74360af835","user":{"login":"therealsilence","id":26488667,"avatar_url":"https://avatars0.githubusercontent.com/u/26488667?v=4","gravatar_id":"","url":"https://api.github.com/users/therealsilence","html_url":"https://github.com/therealsilence","followers_url":"https://api.github.com/users/therealsilence/followers","following_url":"https://api.github.com/users/therealsilence/following{/other_user}","gists_url":"https://api.github.com/users/therealsilence/gists{/gist_id}","starred_url":"https://api.github.com/users/therealsilence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therealsilence/subscriptions","organizations_url":"https://api.github.com/users/therealsilence/orgs","repos_url":"https://api.github.com/users/therealsilence/repos","events_url":"https://api.github.com/users/therealsilence/events{/privacy}","received_events_url":"https://api.github.com/users/therealsilence/received_events","type":"User","site_admin":false},"body":"(but checking)","created_at":"2017-12-07T00:24:04Z","updated_at":"2017-12-07T00:24:04Z","html_url":"https://github.com/vertexproject/synapse/pull/552#discussion_r155400688","pull_request_url":"https://api.github.com/repos/vertexproject/synapse/pulls/552","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/vertexproject/synapse/pulls/comments/155400688"},"html":{"href":"https://github.com/vertexproject/synapse/pull/552#discussion_r155400688"},"pull_request":{"href":"https://api.github.com/repos/vertexproject/synapse/pulls/552"}},"in_reply_to_id":155342296},"pull_request":{"url":"https://api.github.com/repos/vertexproject/synapse/pulls/552","id":156819825,"html_url":"https://github.com/vertexproject/synapse/pull/552","diff_url":"https://github.com/vertexproject/synapse/pull/552.diff","patch_url":"https://github.com/vertexproject/synapse/pull/552.patch","issue_url":"https://api.github.com/repos/vertexproject/synapse/issues/552","number":552,"state":"open","locked":false,"title":"Storm - add user docs for pivot operators","user":{"login":"therealsilence","id":26488667,"avatar_url":"https://avatars0.githubusercontent.com/u/26488667?v=4","gravatar_id":"","url":"https://api.github.com/users/therealsilence","html_url":"https://github.com/therealsilence","followers_url":"https://api.github.com/users/therealsilence/followers","following_url":"https://api.github.com/users/therealsilence/following{/other_user}","gists_url":"https://api.github.com/users/therealsilence/gists{/gist_id}","starred_url":"https://api.github.com/users/therealsilence/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/therealsilence/subscriptions","organizations_url":"https://api.github.com/users/therealsilence/orgs","repos_url":"https://api.github.com/users/therealsilence/repos","events_url":"https://api.github.com/users/therealsilence/events{/privacy}","received_events_url":"https://api.github.com/users/therealsilence/received_events","type":"User","site_admin":false},"body":"- Add documentation for most pivot operators\r\n- Update documentation for tree() for consistency with other user docs","created_at":"2017-12-06T19:35:15Z","updated_at":"2017-12-07T00:24:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"192178ac5aebf364c50b27be602e61f95fb7d5e5","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/vertexproject/synapse/pulls/552/commits","review_comments_url":"https://api.github.com/repos/vertexproject/synapse/pulls/552/comments","review_comment_url":"https://api.github.com/repos/vertexproject/synapse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vertexproject/synapse/issues/552/comments","statuses_url":"https://api.github.com/repos/vertexproject/synapse/statuses/46411ba3bbf2ac616b455168667dfa74360af835","head":{"label":"vertexproject:thesilence_docs","ref":"thesilence_docs","sha":"46411ba3bbf2ac616b455168667dfa74360af835","user":{"login":"vertexproject","id":21201579,"avatar_url":"https://avatars2.githubusercontent.com/u/21201579?v=4","gravatar_id":"","url":"https://api.github.com/users/vertexproject","html_url":"https://github.com/vertexproject","followers_url":"https://api.github.com/users/vertexproject/followers","following_url":"https://api.github.com/users/vertexproject/following{/other_user}","gists_url":"https://api.github.com/users/vertexproject/gists{/gist_id}","starred_url":"https://api.github.com/users/vertexproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vertexproject/subscriptions","organizations_url":"https://api.github.com/users/vertexproject/orgs","repos_url":"https://api.github.com/users/vertexproject/repos","events_url":"https://api.github.com/users/vertexproject/events{/privacy}","received_events_url":"https://api.github.com/users/vertexproject/received_events","type":"Organization","site_admin":false},"repo":{"id":37228107,"name":"synapse","full_name":"vertexproject/synapse","owner":{"login":"vertexproject","id":21201579,"avatar_url":"https://avatars2.githubusercontent.com/u/21201579?v=4","gravatar_id":"","url":"https://api.github.com/users/vertexproject","html_url":"https://github.com/vertexproject","followers_url":"https://api.github.com/users/vertexproject/followers","following_url":"https://api.github.com/users/vertexproject/following{/other_user}","gists_url":"https://api.github.com/users/vertexproject/gists{/gist_id}","starred_url":"https://api.github.com/users/vertexproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vertexproject/subscriptions","organizations_url":"https://api.github.com/users/vertexproject/orgs","repos_url":"https://api.github.com/users/vertexproject/repos","events_url":"https://api.github.com/users/vertexproject/events{/privacy}","received_events_url":"https://api.github.com/users/vertexproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vertexproject/synapse","description":"Distributed Key-Value Hypergraph Analysis Framework","fork":false,"url":"https://api.github.com/repos/vertexproject/synapse","forks_url":"https://api.github.com/repos/vertexproject/synapse/forks","keys_url":"https://api.github.com/repos/vertexproject/synapse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vertexproject/synapse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vertexproject/synapse/teams","hooks_url":"https://api.github.com/repos/vertexproject/synapse/hooks","issue_events_url":"https://api.github.com/repos/vertexproject/synapse/issues/events{/number}","events_url":"https://api.github.com/repos/vertexproject/synapse/events","assignees_url":"https://api.github.com/repos/vertexproject/synapse/assignees{/user}","branches_url":"https://api.github.com/repos/vertexproject/synapse/branches{/branch}","tags_url":"https://api.github.com/repos/vertexproject/synapse/tags","blobs_url":"https://api.github.com/repos/vertexproject/synapse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vertexproject/synapse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vertexproject/synapse/git/refs{/sha}","trees_url":"https://api.github.com/repos/vertexproject/synapse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vertexproject/synapse/statuses/{sha}","languages_url":"https://api.github.com/repos/vertexproject/synapse/languages","stargazers_url":"https://api.github.com/repos/vertexproject/synapse/stargazers","contributors_url":"https://api.github.com/repos/vertexproject/synapse/contributors","subscribers_url":"https://api.github.com/repos/vertexproject/synapse/subscribers","subscription_url":"https://api.github.com/repos/vertexproject/synapse/subscription","commits_url":"https://api.github.com/repos/vertexproject/synapse/commits{/sha}","git_commits_url":"https://api.github.com/repos/vertexproject/synapse/git/commits{/sha}","comments_url":"https://api.github.com/repos/vertexproject/synapse/comments{/number}","issue_comment_url":"https://api.github.com/repos/vertexproject/synapse/issues/comments{/number}","contents_url":"https://api.github.com/repos/vertexproject/synapse/contents/{+path}","compare_url":"https://api.github.com/repos/vertexproject/synapse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vertexproject/synapse/merges","archive_url":"https://api.github.com/repos/vertexproject/synapse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vertexproject/synapse/downloads","issues_url":"https://api.github.com/repos/vertexproject/synapse/issues{/number}","pulls_url":"https://api.github.com/repos/vertexproject/synapse/pulls{/number}","milestones_url":"https://api.github.com/repos/vertexproject/synapse/milestones{/number}","notifications_url":"https://api.github.com/repos/vertexproject/synapse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vertexproject/synapse/labels{/name}","releases_url":"https://api.github.com/repos/vertexproject/synapse/releases{/id}","deployments_url":"https://api.github.com/repos/vertexproject/synapse/deployments","created_at":"2015-06-10T23:29:41Z","updated_at":"2017-11-30T21:19:45Z","pushed_at":"2017-12-06T21:47:19Z","git_url":"git://github.com/vertexproject/synapse.git","ssh_url":"git@github.com:vertexproject/synapse.git","clone_url":"https://github.com/vertexproject/synapse.git","svn_url":"https://github.com/vertexproject/synapse","homepage":"","size":5537,"stargazers_count":34,"watchers_count":34,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":23,"mirror_url":null,"archived":false,"open_issues_count":58,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":23,"open_issues":58,"watchers":34,"default_branch":"master"}},"base":{"label":"vertexproject:master","ref":"master","sha":"35f40e31cff702471e1a4dc731c56b2d9ec80486","user":{"login":"vertexproject","id":21201579,"avatar_url":"https://avatars2.githubusercontent.com/u/21201579?v=4","gravatar_id":"","url":"https://api.github.com/users/vertexproject","html_url":"https://github.com/vertexproject","followers_url":"https://api.github.com/users/vertexproject/followers","following_url":"https://api.github.com/users/vertexproject/following{/other_user}","gists_url":"https://api.github.com/users/vertexproject/gists{/gist_id}","starred_url":"https://api.github.com/users/vertexproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vertexproject/subscriptions","organizations_url":"https://api.github.com/users/vertexproject/orgs","repos_url":"https://api.github.com/users/vertexproject/repos","events_url":"https://api.github.com/users/vertexproject/events{/privacy}","received_events_url":"https://api.github.com/users/vertexproject/received_events","type":"Organization","site_admin":false},"repo":{"id":37228107,"name":"synapse","full_name":"vertexproject/synapse","owner":{"login":"vertexproject","id":21201579,"avatar_url":"https://avatars2.githubusercontent.com/u/21201579?v=4","gravatar_id":"","url":"https://api.github.com/users/vertexproject","html_url":"https://github.com/vertexproject","followers_url":"https://api.github.com/users/vertexproject/followers","following_url":"https://api.github.com/users/vertexproject/following{/other_user}","gists_url":"https://api.github.com/users/vertexproject/gists{/gist_id}","starred_url":"https://api.github.com/users/vertexproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vertexproject/subscriptions","organizations_url":"https://api.github.com/users/vertexproject/orgs","repos_url":"https://api.github.com/users/vertexproject/repos","events_url":"https://api.github.com/users/vertexproject/events{/privacy}","received_events_url":"https://api.github.com/users/vertexproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vertexproject/synapse","description":"Distributed Key-Value Hypergraph Analysis Framework","fork":false,"url":"https://api.github.com/repos/vertexproject/synapse","forks_url":"https://api.github.com/repos/vertexproject/synapse/forks","keys_url":"https://api.github.com/repos/vertexproject/synapse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vertexproject/synapse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vertexproject/synapse/teams","hooks_url":"https://api.github.com/repos/vertexproject/synapse/hooks","issue_events_url":"https://api.github.com/repos/vertexproject/synapse/issues/events{/number}","events_url":"https://api.github.com/repos/vertexproject/synapse/events","assignees_url":"https://api.github.com/repos/vertexproject/synapse/assignees{/user}","branches_url":"https://api.github.com/repos/vertexproject/synapse/branches{/branch}","tags_url":"https://api.github.com/repos/vertexproject/synapse/tags","blobs_url":"https://api.github.com/repos/vertexproject/synapse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vertexproject/synapse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vertexproject/synapse/git/refs{/sha}","trees_url":"https://api.github.com/repos/vertexproject/synapse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vertexproject/synapse/statuses/{sha}","languages_url":"https://api.github.com/repos/vertexproject/synapse/languages","stargazers_url":"https://api.github.com/repos/vertexproject/synapse/stargazers","contributors_url":"https://api.github.com/repos/vertexproject/synapse/contributors","subscribers_url":"https://api.github.com/repos/vertexproject/synapse/subscribers","subscription_url":"https://api.github.com/repos/vertexproject/synapse/subscription","commits_url":"https://api.github.com/repos/vertexproject/synapse/commits{/sha}","git_commits_url":"https://api.github.com/repos/vertexproject/synapse/git/commits{/sha}","comments_url":"https://api.github.com/repos/vertexproject/synapse/comments{/number}","issue_comment_url":"https://api.github.com/repos/vertexproject/synapse/issues/comments{/number}","contents_url":"https://api.github.com/repos/vertexproject/synapse/contents/{+path}","compare_url":"https://api.github.com/repos/vertexproject/synapse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vertexproject/synapse/merges","archive_url":"https://api.github.com/repos/vertexproject/synapse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vertexproject/synapse/downloads","issues_url":"https://api.github.com/repos/vertexproject/synapse/issues{/number}","pulls_url":"https://api.github.com/repos/vertexproject/synapse/pulls{/number}","milestones_url":"https://api.github.com/repos/vertexproject/synapse/milestones{/number}","notifications_url":"https://api.github.com/repos/vertexproject/synapse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vertexproject/synapse/labels{/name}","releases_url":"https://api.github.com/repos/vertexproject/synapse/releases{/id}","deployments_url":"https://api.github.com/repos/vertexproject/synapse/deployments","created_at":"2015-06-10T23:29:41Z","updated_at":"2017-11-30T21:19:45Z","pushed_at":"2017-12-06T21:47:19Z","git_url":"git://github.com/vertexproject/synapse.git","ssh_url":"git@github.com:vertexproject/synapse.git","clone_url":"https://github.com/vertexproject/synapse.git","svn_url":"https://github.com/vertexproject/synapse","homepage":"","size":5537,"stargazers_count":34,"watchers_count":34,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":23,"mirror_url":null,"archived":false,"open_issues_count":58,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":23,"open_issues":58,"watchers":34,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vertexproject/synapse/pulls/552"},"html":{"href":"https://github.com/vertexproject/synapse/pull/552"},"issue":{"href":"https://api.github.com/repos/vertexproject/synapse/issues/552"},"comments":{"href":"https://api.github.com/repos/vertexproject/synapse/issues/552/comments"},"review_comments":{"href":"https://api.github.com/repos/vertexproject/synapse/pulls/552/comments"},"review_comment":{"href":"https://api.github.com/repos/vertexproject/synapse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vertexproject/synapse/pulls/552/commits"},"statuses":{"href":"https://api.github.com/repos/vertexproject/synapse/statuses/46411ba3bbf2ac616b455168667dfa74360af835"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"therealsilence"}}