{"action":"created","issue":{"url":"https://api.github.com/repos/beberlei/DoctrineExtensions/issues/106","labels_url":"https://api.github.com/repos/beberlei/DoctrineExtensions/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/beberlei/DoctrineExtensions/issues/106/comments","events_url":"https://api.github.com/repos/beberlei/DoctrineExtensions/issues/106/events","html_url":"https://github.com/beberlei/DoctrineExtensions/pull/106","id":17156807,"number":106,"title":"Fixed DATE_ADD syntax to be compatible with Doctrine syntax","user":{"login":"stekycz","id":865447,"avatar_url":"https://avatars.githubusercontent.com/u/865447?v=3","gravatar_id":"","url":"https://api.github.com/users/stekycz","html_url":"https://github.com/stekycz","followers_url":"https://api.github.com/users/stekycz/followers","following_url":"https://api.github.com/users/stekycz/following{/other_user}","gists_url":"https://api.github.com/users/stekycz/gists{/gist_id}","starred_url":"https://api.github.com/users/stekycz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stekycz/subscriptions","organizations_url":"https://api.github.com/users/stekycz/orgs","repos_url":"https://api.github.com/users/stekycz/repos","events_url":"https://api.github.com/users/stekycz/events{/privacy}","received_events_url":"https://api.github.com/users/stekycz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/beberlei/DoctrineExtensions/labels/function","name":"function","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2013-07-24T13:28:07Z","updated_at":"2015-03-09T09:19:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/beberlei/DoctrineExtensions/pulls/106","html_url":"https://github.com/beberlei/DoctrineExtensions/pull/106","diff_url":"https://github.com/beberlei/DoctrineExtensions/pull/106.diff","patch_url":"https://github.com/beberlei/DoctrineExtensions/pull/106.patch"},"body":"Syntaxt of `DATE_ADD` function in this extensions was different from original syntax in Doctrine. This pull request fixes this incompatibility and brings posibility of nested function calls which was not allowed.\r\n\r\nSimple example:\r\n```sql\r\nSELECT DATE_ADD(IF(t.updated IS NOT NULL, t.updated, t.created), 1, \"hour\") FROM table t\r\n```"},"comment":{"url":"https://api.github.com/repos/beberlei/DoctrineExtensions/issues/comments/77821327","html_url":"https://github.com/beberlei/DoctrineExtensions/pull/106#issuecomment-77821327","issue_url":"https://api.github.com/repos/beberlei/DoctrineExtensions/issues/106","id":77821327,"user":{"login":"stevelacey","id":289531,"avatar_url":"https://avatars.githubusercontent.com/u/289531?v=3","gravatar_id":"","url":"https://api.github.com/users/stevelacey","html_url":"https://github.com/stevelacey","followers_url":"https://api.github.com/users/stevelacey/followers","following_url":"https://api.github.com/users/stevelacey/following{/other_user}","gists_url":"https://api.github.com/users/stevelacey/gists{/gist_id}","starred_url":"https://api.github.com/users/stevelacey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevelacey/subscriptions","organizations_url":"https://api.github.com/users/stevelacey/orgs","repos_url":"https://api.github.com/users/stevelacey/repos","events_url":"https://api.github.com/users/stevelacey/events{/privacy}","received_events_url":"https://api.github.com/users/stevelacey/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T09:19:29Z","updated_at":"2015-03-09T09:19:29Z","body":"@stekycz looks good, I'm wondering whether it should go onto the 1.0 branch because of the BC break caused by dropping the `_`"}}