{"action":"opened","number":82,"pull_request":{"url":"https://api.github.com/repos/krisajenkins/yesql/pulls/82","id":32656690,"html_url":"https://github.com/krisajenkins/yesql/pull/82","diff_url":"https://github.com/krisajenkins/yesql/pull/82.diff","patch_url":"https://github.com/krisajenkins/yesql/pull/82.patch","issue_url":"https://api.github.com/repos/krisajenkins/yesql/issues/82","number":82,"state":"open","locked":false,"title":"Allow apostrophes in in-line SQL comments","user":{"login":"mshenfield","id":4812055,"avatar_url":"https://avatars.githubusercontent.com/u/4812055?v=3","gravatar_id":"","url":"https://api.github.com/users/mshenfield","html_url":"https://github.com/mshenfield","followers_url":"https://api.github.com/users/mshenfield/followers","following_url":"https://api.github.com/users/mshenfield/following{/other_user}","gists_url":"https://api.github.com/users/mshenfield/gists{/gist_id}","starred_url":"https://api.github.com/users/mshenfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mshenfield/subscriptions","organizations_url":"https://api.github.com/users/mshenfield/orgs","repos_url":"https://api.github.com/users/mshenfield/repos","events_url":"https://api.github.com/users/mshenfield/events{/privacy}","received_events_url":"https://api.github.com/users/mshenfield/received_events","type":"User","site_admin":false},"body":"The SQL string element in the statement.bnf file allows arbitrary string (ie \":\") to be placed within apostrophe delimiters (\"'\").  However, this prevents the use of opening apostrophes without a closing apostrophe inside of inline comments. For example, the following statement causes a parse error:\r\n\r\n```sql\r\nSELECT country FROM users -- This \"'\" causes an error\r\nWHERE user = 'tom'\r\n```\r\n\r\nThis parse error is corrected by creating a comment element delimited by \"--\" and a newline, allowing any arbitrary characters between them. This closes issue #69.","created_at":"2015-04-06T00:04:07Z","updated_at":"2015-04-06T00:04:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/krisajenkins/yesql/pulls/82/commits","review_comments_url":"https://api.github.com/repos/krisajenkins/yesql/pulls/82/comments","review_comment_url":"https://api.github.com/repos/krisajenkins/yesql/pulls/comments{/number}","comments_url":"https://api.github.com/repos/krisajenkins/yesql/issues/82/comments","statuses_url":"https://api.github.com/repos/krisajenkins/yesql/statuses/36c4aae9afff8628e954e81d648d1d3660658911","head":{"label":"mshenfield:issue-69-apostrophes-in-in-line-comments","ref":"issue-69-apostrophes-in-in-line-comments","sha":"36c4aae9afff8628e954e81d648d1d3660658911","user":{"login":"mshenfield","id":4812055,"avatar_url":"https://avatars.githubusercontent.com/u/4812055?v=3","gravatar_id":"","url":"https://api.github.com/users/mshenfield","html_url":"https://github.com/mshenfield","followers_url":"https://api.github.com/users/mshenfield/followers","following_url":"https://api.github.com/users/mshenfield/following{/other_user}","gists_url":"https://api.github.com/users/mshenfield/gists{/gist_id}","starred_url":"https://api.github.com/users/mshenfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mshenfield/subscriptions","organizations_url":"https://api.github.com/users/mshenfield/orgs","repos_url":"https://api.github.com/users/mshenfield/repos","events_url":"https://api.github.com/users/mshenfield/events{/privacy}","received_events_url":"https://api.github.com/users/mshenfield/received_events","type":"User","site_admin":false},"repo":{"id":33164754,"name":"yesql","full_name":"mshenfield/yesql","owner":{"login":"mshenfield","id":4812055,"avatar_url":"https://avatars.githubusercontent.com/u/4812055?v=3","gravatar_id":"","url":"https://api.github.com/users/mshenfield","html_url":"https://github.com/mshenfield","followers_url":"https://api.github.com/users/mshenfield/followers","following_url":"https://api.github.com/users/mshenfield/following{/other_user}","gists_url":"https://api.github.com/users/mshenfield/gists{/gist_id}","starred_url":"https://api.github.com/users/mshenfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mshenfield/subscriptions","organizations_url":"https://api.github.com/users/mshenfield/orgs","repos_url":"https://api.github.com/users/mshenfield/repos","events_url":"https://api.github.com/users/mshenfield/events{/privacy}","received_events_url":"https://api.github.com/users/mshenfield/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mshenfield/yesql","description":"A Clojure library for using SQL.","fork":true,"url":"https://api.github.com/repos/mshenfield/yesql","forks_url":"https://api.github.com/repos/mshenfield/yesql/forks","keys_url":"https://api.github.com/repos/mshenfield/yesql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mshenfield/yesql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mshenfield/yesql/teams","hooks_url":"https://api.github.com/repos/mshenfield/yesql/hooks","issue_events_url":"https://api.github.com/repos/mshenfield/yesql/issues/events{/number}","events_url":"https://api.github.com/repos/mshenfield/yesql/events","assignees_url":"https://api.github.com/repos/mshenfield/yesql/assignees{/user}","branches_url":"https://api.github.com/repos/mshenfield/yesql/branches{/branch}","tags_url":"https://api.github.com/repos/mshenfield/yesql/tags","blobs_url":"https://api.github.com/repos/mshenfield/yesql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mshenfield/yesql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mshenfield/yesql/git/refs{/sha}","trees_url":"https://api.github.com/repos/mshenfield/yesql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mshenfield/yesql/statuses/{sha}","languages_url":"https://api.github.com/repos/mshenfield/yesql/languages","stargazers_url":"https://api.github.com/repos/mshenfield/yesql/stargazers","contributors_url":"https://api.github.com/repos/mshenfield/yesql/contributors","subscribers_url":"https://api.github.com/repos/mshenfield/yesql/subscribers","subscription_url":"https://api.github.com/repos/mshenfield/yesql/subscription","commits_url":"https://api.github.com/repos/mshenfield/yesql/commits{/sha}","git_commits_url":"https://api.github.com/repos/mshenfield/yesql/git/commits{/sha}","comments_url":"https://api.github.com/repos/mshenfield/yesql/comments{/number}","issue_comment_url":"https://api.github.com/repos/mshenfield/yesql/issues/comments{/number}","contents_url":"https://api.github.com/repos/mshenfield/yesql/contents/{+path}","compare_url":"https://api.github.com/repos/mshenfield/yesql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mshenfield/yesql/merges","archive_url":"https://api.github.com/repos/mshenfield/yesql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mshenfield/yesql/downloads","issues_url":"https://api.github.com/repos/mshenfield/yesql/issues{/number}","pulls_url":"https://api.github.com/repos/mshenfield/yesql/pulls{/number}","milestones_url":"https://api.github.com/repos/mshenfield/yesql/milestones{/number}","notifications_url":"https://api.github.com/repos/mshenfield/yesql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mshenfield/yesql/labels{/name}","releases_url":"https://api.github.com/repos/mshenfield/yesql/releases{/id}","created_at":"2015-03-31T04:24:41Z","updated_at":"2015-03-31T04:24:42Z","pushed_at":"2015-04-05T23:59:30Z","git_url":"git://github.com/mshenfield/yesql.git","ssh_url":"git@github.com:mshenfield/yesql.git","clone_url":"https://github.com/mshenfield/yesql.git","svn_url":"https://github.com/mshenfield/yesql","homepage":null,"size":275,"stargazers_count":0,"watchers_count":0,"language":"Clojure","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":"krisajenkins:devel","ref":"devel","sha":"b5423eadb85946036d3290f12d8e4d6ab9bcca82","user":{"login":"krisajenkins","id":380756,"avatar_url":"https://avatars.githubusercontent.com/u/380756?v=3","gravatar_id":"","url":"https://api.github.com/users/krisajenkins","html_url":"https://github.com/krisajenkins","followers_url":"https://api.github.com/users/krisajenkins/followers","following_url":"https://api.github.com/users/krisajenkins/following{/other_user}","gists_url":"https://api.github.com/users/krisajenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/krisajenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krisajenkins/subscriptions","organizations_url":"https://api.github.com/users/krisajenkins/orgs","repos_url":"https://api.github.com/users/krisajenkins/repos","events_url":"https://api.github.com/users/krisajenkins/events{/privacy}","received_events_url":"https://api.github.com/users/krisajenkins/received_events","type":"User","site_admin":false},"repo":{"id":13061319,"name":"yesql","full_name":"krisajenkins/yesql","owner":{"login":"krisajenkins","id":380756,"avatar_url":"https://avatars.githubusercontent.com/u/380756?v=3","gravatar_id":"","url":"https://api.github.com/users/krisajenkins","html_url":"https://github.com/krisajenkins","followers_url":"https://api.github.com/users/krisajenkins/followers","following_url":"https://api.github.com/users/krisajenkins/following{/other_user}","gists_url":"https://api.github.com/users/krisajenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/krisajenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krisajenkins/subscriptions","organizations_url":"https://api.github.com/users/krisajenkins/orgs","repos_url":"https://api.github.com/users/krisajenkins/repos","events_url":"https://api.github.com/users/krisajenkins/events{/privacy}","received_events_url":"https://api.github.com/users/krisajenkins/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/krisajenkins/yesql","description":"A Clojure library for using SQL.","fork":false,"url":"https://api.github.com/repos/krisajenkins/yesql","forks_url":"https://api.github.com/repos/krisajenkins/yesql/forks","keys_url":"https://api.github.com/repos/krisajenkins/yesql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/krisajenkins/yesql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/krisajenkins/yesql/teams","hooks_url":"https://api.github.com/repos/krisajenkins/yesql/hooks","issue_events_url":"https://api.github.com/repos/krisajenkins/yesql/issues/events{/number}","events_url":"https://api.github.com/repos/krisajenkins/yesql/events","assignees_url":"https://api.github.com/repos/krisajenkins/yesql/assignees{/user}","branches_url":"https://api.github.com/repos/krisajenkins/yesql/branches{/branch}","tags_url":"https://api.github.com/repos/krisajenkins/yesql/tags","blobs_url":"https://api.github.com/repos/krisajenkins/yesql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/krisajenkins/yesql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/krisajenkins/yesql/git/refs{/sha}","trees_url":"https://api.github.com/repos/krisajenkins/yesql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/krisajenkins/yesql/statuses/{sha}","languages_url":"https://api.github.com/repos/krisajenkins/yesql/languages","stargazers_url":"https://api.github.com/repos/krisajenkins/yesql/stargazers","contributors_url":"https://api.github.com/repos/krisajenkins/yesql/contributors","subscribers_url":"https://api.github.com/repos/krisajenkins/yesql/subscribers","subscription_url":"https://api.github.com/repos/krisajenkins/yesql/subscription","commits_url":"https://api.github.com/repos/krisajenkins/yesql/commits{/sha}","git_commits_url":"https://api.github.com/repos/krisajenkins/yesql/git/commits{/sha}","comments_url":"https://api.github.com/repos/krisajenkins/yesql/comments{/number}","issue_comment_url":"https://api.github.com/repos/krisajenkins/yesql/issues/comments{/number}","contents_url":"https://api.github.com/repos/krisajenkins/yesql/contents/{+path}","compare_url":"https://api.github.com/repos/krisajenkins/yesql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/krisajenkins/yesql/merges","archive_url":"https://api.github.com/repos/krisajenkins/yesql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/krisajenkins/yesql/downloads","issues_url":"https://api.github.com/repos/krisajenkins/yesql/issues{/number}","pulls_url":"https://api.github.com/repos/krisajenkins/yesql/pulls{/number}","milestones_url":"https://api.github.com/repos/krisajenkins/yesql/milestones{/number}","notifications_url":"https://api.github.com/repos/krisajenkins/yesql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/krisajenkins/yesql/labels{/name}","releases_url":"https://api.github.com/repos/krisajenkins/yesql/releases{/id}","created_at":"2013-09-24T10:29:23Z","updated_at":"2015-04-04T10:51:15Z","pushed_at":"2015-04-05T17:16:42Z","git_url":"git://github.com/krisajenkins/yesql.git","ssh_url":"git@github.com:krisajenkins/yesql.git","clone_url":"https://github.com/krisajenkins/yesql.git","svn_url":"https://github.com/krisajenkins/yesql","homepage":null,"size":1144,"stargazers_count":646,"watchers_count":646,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":38,"forks":37,"open_issues":38,"watchers":646,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/krisajenkins/yesql/pulls/82"},"html":{"href":"https://github.com/krisajenkins/yesql/pull/82"},"issue":{"href":"https://api.github.com/repos/krisajenkins/yesql/issues/82"},"comments":{"href":"https://api.github.com/repos/krisajenkins/yesql/issues/82/comments"},"review_comments":{"href":"https://api.github.com/repos/krisajenkins/yesql/pulls/82/comments"},"review_comment":{"href":"https://api.github.com/repos/krisajenkins/yesql/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/krisajenkins/yesql/pulls/82/commits"},"statuses":{"href":"https://api.github.com/repos/krisajenkins/yesql/statuses/36c4aae9afff8628e954e81d648d1d3660658911"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":20,"deletions":4,"changed_files":3}}