{"action":"created","comment":{"url":"https://api.github.com/repos/cassandra-scala/troy/pulls/comments/76524422","id":76524422,"diff_hunk":"@@ -33,6 +33,14 @@ final case class SelectStatement(\n   allowFiltering: Boolean\n ) extends DataManipulation\n \n+final case class UpdateStatement(\n+  tableName: TableName,\n+  using: Option[Seq[UpdateParam]],","path":"cql-ast/src/main/scala/troy/cql/ast/Statements.scala","position":15,"original_position":15,"commit_id":"d0d2f3de448d459213ed1f6ba977d9adc5e7ee02","original_commit_id":"4cd96207da85cea8a0c7b43441876be46a996e1f","user":{"login":"tabdulradi","id":725206,"avatar_url":"https://avatars.githubusercontent.com/u/725206?v=3","gravatar_id":"","url":"https://api.github.com/users/tabdulradi","html_url":"https://github.com/tabdulradi","followers_url":"https://api.github.com/users/tabdulradi/followers","following_url":"https://api.github.com/users/tabdulradi/following{/other_user}","gists_url":"https://api.github.com/users/tabdulradi/gists{/gist_id}","starred_url":"https://api.github.com/users/tabdulradi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tabdulradi/subscriptions","organizations_url":"https://api.github.com/users/tabdulradi/orgs","repos_url":"https://api.github.com/users/tabdulradi/repos","events_url":"https://api.github.com/users/tabdulradi/events{/privacy}","received_events_url":"https://api.github.com/users/tabdulradi/received_events","type":"User","site_admin":false},"body":"I think maybe `Seq[UpdateParam]`, no need for `Option`.\r\nIf statement didn't have `using` clause, then it will an empty Seq.","created_at":"2016-08-28T01:11:06Z","updated_at":"2016-08-28T01:11:06Z","html_url":"https://github.com/cassandra-scala/troy/pull/62#discussion_r76524422","pull_request_url":"https://api.github.com/repos/cassandra-scala/troy/pulls/62","_links":{"self":{"href":"https://api.github.com/repos/cassandra-scala/troy/pulls/comments/76524422"},"html":{"href":"https://github.com/cassandra-scala/troy/pull/62#discussion_r76524422"},"pull_request":{"href":"https://api.github.com/repos/cassandra-scala/troy/pulls/62"}}},"pull_request":{"url":"https://api.github.com/repos/cassandra-scala/troy/pulls/62","id":82944924,"html_url":"https://github.com/cassandra-scala/troy/pull/62","diff_url":"https://github.com/cassandra-scala/troy/pull/62.diff","patch_url":"https://github.com/cassandra-scala/troy/pull/62.patch","issue_url":"https://api.github.com/repos/cassandra-scala/troy/issues/62","number":62,"state":"open","locked":false,"title":"47 updat statment","user":{"login":"OmniaGM","id":1101183,"avatar_url":"https://avatars.githubusercontent.com/u/1101183?v=3","gravatar_id":"","url":"https://api.github.com/users/OmniaGM","html_url":"https://github.com/OmniaGM","followers_url":"https://api.github.com/users/OmniaGM/followers","following_url":"https://api.github.com/users/OmniaGM/following{/other_user}","gists_url":"https://api.github.com/users/OmniaGM/gists{/gist_id}","starred_url":"https://api.github.com/users/OmniaGM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OmniaGM/subscriptions","organizations_url":"https://api.github.com/users/OmniaGM/orgs","repos_url":"https://api.github.com/users/OmniaGM/repos","events_url":"https://api.github.com/users/OmniaGM/events{/privacy}","received_events_url":"https://api.github.com/users/OmniaGM/received_events","type":"User","site_admin":false},"body":"- [x] Refactor If - Exists - Condition\r\n- [x] Implement update statement ast\r\n- [x] Implement update statement parser","created_at":"2016-08-26T19:56:20Z","updated_at":"2016-08-28T01:11:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"81a0fb4f91364fb9f469233a783753e06631b3e1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cassandra-scala/troy/pulls/62/commits","review_comments_url":"https://api.github.com/repos/cassandra-scala/troy/pulls/62/comments","review_comment_url":"https://api.github.com/repos/cassandra-scala/troy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cassandra-scala/troy/issues/62/comments","statuses_url":"https://api.github.com/repos/cassandra-scala/troy/statuses/d0d2f3de448d459213ed1f6ba977d9adc5e7ee02","head":{"label":"OmniaGM:feature/47-update-ast-and-parser","ref":"feature/47-update-ast-and-parser","sha":"d0d2f3de448d459213ed1f6ba977d9adc5e7ee02","user":{"login":"OmniaGM","id":1101183,"avatar_url":"https://avatars.githubusercontent.com/u/1101183?v=3","gravatar_id":"","url":"https://api.github.com/users/OmniaGM","html_url":"https://github.com/OmniaGM","followers_url":"https://api.github.com/users/OmniaGM/followers","following_url":"https://api.github.com/users/OmniaGM/following{/other_user}","gists_url":"https://api.github.com/users/OmniaGM/gists{/gist_id}","starred_url":"https://api.github.com/users/OmniaGM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OmniaGM/subscriptions","organizations_url":"https://api.github.com/users/OmniaGM/orgs","repos_url":"https://api.github.com/users/OmniaGM/repos","events_url":"https://api.github.com/users/OmniaGM/events{/privacy}","received_events_url":"https://api.github.com/users/OmniaGM/received_events","type":"User","site_admin":false},"repo":{"id":66024232,"name":"troy","full_name":"OmniaGM/troy","owner":{"login":"OmniaGM","id":1101183,"avatar_url":"https://avatars.githubusercontent.com/u/1101183?v=3","gravatar_id":"","url":"https://api.github.com/users/OmniaGM","html_url":"https://github.com/OmniaGM","followers_url":"https://api.github.com/users/OmniaGM/followers","following_url":"https://api.github.com/users/OmniaGM/following{/other_user}","gists_url":"https://api.github.com/users/OmniaGM/gists{/gist_id}","starred_url":"https://api.github.com/users/OmniaGM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OmniaGM/subscriptions","organizations_url":"https://api.github.com/users/OmniaGM/orgs","repos_url":"https://api.github.com/users/OmniaGM/repos","events_url":"https://api.github.com/users/OmniaGM/events{/privacy}","received_events_url":"https://api.github.com/users/OmniaGM/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/OmniaGM/troy","description":"Type-safe and Schema-safe Scala wrapper for Cassandra driver","fork":true,"url":"https://api.github.com/repos/OmniaGM/troy","forks_url":"https://api.github.com/repos/OmniaGM/troy/forks","keys_url":"https://api.github.com/repos/OmniaGM/troy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OmniaGM/troy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OmniaGM/troy/teams","hooks_url":"https://api.github.com/repos/OmniaGM/troy/hooks","issue_events_url":"https://api.github.com/repos/OmniaGM/troy/issues/events{/number}","events_url":"https://api.github.com/repos/OmniaGM/troy/events","assignees_url":"https://api.github.com/repos/OmniaGM/troy/assignees{/user}","branches_url":"https://api.github.com/repos/OmniaGM/troy/branches{/branch}","tags_url":"https://api.github.com/repos/OmniaGM/troy/tags","blobs_url":"https://api.github.com/repos/OmniaGM/troy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OmniaGM/troy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OmniaGM/troy/git/refs{/sha}","trees_url":"https://api.github.com/repos/OmniaGM/troy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OmniaGM/troy/statuses/{sha}","languages_url":"https://api.github.com/repos/OmniaGM/troy/languages","stargazers_url":"https://api.github.com/repos/OmniaGM/troy/stargazers","contributors_url":"https://api.github.com/repos/OmniaGM/troy/contributors","subscribers_url":"https://api.github.com/repos/OmniaGM/troy/subscribers","subscription_url":"https://api.github.com/repos/OmniaGM/troy/subscription","commits_url":"https://api.github.com/repos/OmniaGM/troy/commits{/sha}","git_commits_url":"https://api.github.com/repos/OmniaGM/troy/git/commits{/sha}","comments_url":"https://api.github.com/repos/OmniaGM/troy/comments{/number}","issue_comment_url":"https://api.github.com/repos/OmniaGM/troy/issues/comments{/number}","contents_url":"https://api.github.com/repos/OmniaGM/troy/contents/{+path}","compare_url":"https://api.github.com/repos/OmniaGM/troy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OmniaGM/troy/merges","archive_url":"https://api.github.com/repos/OmniaGM/troy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OmniaGM/troy/downloads","issues_url":"https://api.github.com/repos/OmniaGM/troy/issues{/number}","pulls_url":"https://api.github.com/repos/OmniaGM/troy/pulls{/number}","milestones_url":"https://api.github.com/repos/OmniaGM/troy/milestones{/number}","notifications_url":"https://api.github.com/repos/OmniaGM/troy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OmniaGM/troy/labels{/name}","releases_url":"https://api.github.com/repos/OmniaGM/troy/releases{/id}","deployments_url":"https://api.github.com/repos/OmniaGM/troy/deployments","created_at":"2016-08-18T19:17:36Z","updated_at":"2016-08-18T19:17:37Z","pushed_at":"2016-08-27T22:29:06Z","git_url":"git://github.com/OmniaGM/troy.git","ssh_url":"git@github.com:OmniaGM/troy.git","clone_url":"https://github.com/OmniaGM/troy.git","svn_url":"https://github.com/OmniaGM/troy","homepage":"","size":249,"stargazers_count":0,"watchers_count":0,"language":"Scala","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":"cassandra-scala:master","ref":"master","sha":"eed42c7af7f5496a61866ac305486587c92d4f3c","user":{"login":"cassandra-scala","id":21027456,"avatar_url":"https://avatars.githubusercontent.com/u/21027456?v=3","gravatar_id":"","url":"https://api.github.com/users/cassandra-scala","html_url":"https://github.com/cassandra-scala","followers_url":"https://api.github.com/users/cassandra-scala/followers","following_url":"https://api.github.com/users/cassandra-scala/following{/other_user}","gists_url":"https://api.github.com/users/cassandra-scala/gists{/gist_id}","starred_url":"https://api.github.com/users/cassandra-scala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cassandra-scala/subscriptions","organizations_url":"https://api.github.com/users/cassandra-scala/orgs","repos_url":"https://api.github.com/users/cassandra-scala/repos","events_url":"https://api.github.com/users/cassandra-scala/events{/privacy}","received_events_url":"https://api.github.com/users/cassandra-scala/received_events","type":"Organization","site_admin":false},"repo":{"id":53279003,"name":"troy","full_name":"cassandra-scala/troy","owner":{"login":"cassandra-scala","id":21027456,"avatar_url":"https://avatars.githubusercontent.com/u/21027456?v=3","gravatar_id":"","url":"https://api.github.com/users/cassandra-scala","html_url":"https://github.com/cassandra-scala","followers_url":"https://api.github.com/users/cassandra-scala/followers","following_url":"https://api.github.com/users/cassandra-scala/following{/other_user}","gists_url":"https://api.github.com/users/cassandra-scala/gists{/gist_id}","starred_url":"https://api.github.com/users/cassandra-scala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cassandra-scala/subscriptions","organizations_url":"https://api.github.com/users/cassandra-scala/orgs","repos_url":"https://api.github.com/users/cassandra-scala/repos","events_url":"https://api.github.com/users/cassandra-scala/events{/privacy}","received_events_url":"https://api.github.com/users/cassandra-scala/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cassandra-scala/troy","description":"Type-safe and Schema-safe Scala wrapper for Cassandra driver","fork":false,"url":"https://api.github.com/repos/cassandra-scala/troy","forks_url":"https://api.github.com/repos/cassandra-scala/troy/forks","keys_url":"https://api.github.com/repos/cassandra-scala/troy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cassandra-scala/troy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cassandra-scala/troy/teams","hooks_url":"https://api.github.com/repos/cassandra-scala/troy/hooks","issue_events_url":"https://api.github.com/repos/cassandra-scala/troy/issues/events{/number}","events_url":"https://api.github.com/repos/cassandra-scala/troy/events","assignees_url":"https://api.github.com/repos/cassandra-scala/troy/assignees{/user}","branches_url":"https://api.github.com/repos/cassandra-scala/troy/branches{/branch}","tags_url":"https://api.github.com/repos/cassandra-scala/troy/tags","blobs_url":"https://api.github.com/repos/cassandra-scala/troy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cassandra-scala/troy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cassandra-scala/troy/git/refs{/sha}","trees_url":"https://api.github.com/repos/cassandra-scala/troy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cassandra-scala/troy/statuses/{sha}","languages_url":"https://api.github.com/repos/cassandra-scala/troy/languages","stargazers_url":"https://api.github.com/repos/cassandra-scala/troy/stargazers","contributors_url":"https://api.github.com/repos/cassandra-scala/troy/contributors","subscribers_url":"https://api.github.com/repos/cassandra-scala/troy/subscribers","subscription_url":"https://api.github.com/repos/cassandra-scala/troy/subscription","commits_url":"https://api.github.com/repos/cassandra-scala/troy/commits{/sha}","git_commits_url":"https://api.github.com/repos/cassandra-scala/troy/git/commits{/sha}","comments_url":"https://api.github.com/repos/cassandra-scala/troy/comments{/number}","issue_comment_url":"https://api.github.com/repos/cassandra-scala/troy/issues/comments{/number}","contents_url":"https://api.github.com/repos/cassandra-scala/troy/contents/{+path}","compare_url":"https://api.github.com/repos/cassandra-scala/troy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cassandra-scala/troy/merges","archive_url":"https://api.github.com/repos/cassandra-scala/troy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cassandra-scala/troy/downloads","issues_url":"https://api.github.com/repos/cassandra-scala/troy/issues{/number}","pulls_url":"https://api.github.com/repos/cassandra-scala/troy/pulls{/number}","milestones_url":"https://api.github.com/repos/cassandra-scala/troy/milestones{/number}","notifications_url":"https://api.github.com/repos/cassandra-scala/troy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cassandra-scala/troy/labels{/name}","releases_url":"https://api.github.com/repos/cassandra-scala/troy/releases{/id}","deployments_url":"https://api.github.com/repos/cassandra-scala/troy/deployments","created_at":"2016-03-06T22:14:55Z","updated_at":"2016-08-20T11:18:12Z","pushed_at":"2016-08-27T22:29:06Z","git_url":"git://github.com/cassandra-scala/troy.git","ssh_url":"git@github.com:cassandra-scala/troy.git","clone_url":"https://github.com/cassandra-scala/troy.git","svn_url":"https://github.com/cassandra-scala/troy","homepage":"","size":283,"stargazers_count":14,"watchers_count":14,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":13,"forks":2,"open_issues":13,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cassandra-scala/troy/pulls/62"},"html":{"href":"https://github.com/cassandra-scala/troy/pull/62"},"issue":{"href":"https://api.github.com/repos/cassandra-scala/troy/issues/62"},"comments":{"href":"https://api.github.com/repos/cassandra-scala/troy/issues/62/comments"},"review_comments":{"href":"https://api.github.com/repos/cassandra-scala/troy/pulls/62/comments"},"review_comment":{"href":"https://api.github.com/repos/cassandra-scala/troy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cassandra-scala/troy/pulls/62/commits"},"statuses":{"href":"https://api.github.com/repos/cassandra-scala/troy/statuses/d0d2f3de448d459213ed1f6ba977d9adc5e7ee02"}}}}
{"actor":{"display_login":"tabdulradi"}}