{"action":"created","issue":{"url":"https://api.github.com/repos/SyslogicNL/DoctrineJsonFunctions/issues/6","repository_url":"https://api.github.com/repos/SyslogicNL/DoctrineJsonFunctions","labels_url":"https://api.github.com/repos/SyslogicNL/DoctrineJsonFunctions/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/SyslogicNL/DoctrineJsonFunctions/issues/6/comments","events_url":"https://api.github.com/repos/SyslogicNL/DoctrineJsonFunctions/issues/6/events","html_url":"https://github.com/SyslogicNL/DoctrineJsonFunctions/issues/6","id":175746043,"number":6,"title":"Support -> operator","user":{"login":"oddz","id":96680,"avatar_url":"https://avatars.githubusercontent.com/u/96680?v=3","gravatar_id":"","url":"https://api.github.com/users/oddz","html_url":"https://github.com/oddz","followers_url":"https://api.github.com/users/oddz/followers","following_url":"https://api.github.com/users/oddz/following{/other_user}","gists_url":"https://api.github.com/users/oddz/gists{/gist_id}","starred_url":"https://api.github.com/users/oddz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oddz/subscriptions","organizations_url":"https://api.github.com/users/oddz/orgs","repos_url":"https://api.github.com/users/oddz/repos","events_url":"https://api.github.com/users/oddz/events{/privacy}","received_events_url":"https://api.github.com/users/oddz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-08T12:54:36Z","updated_at":"2016-09-12T09:08:12Z","closed_at":null,"body":"The -> operator can't currently be used with out an error in JSON_CONTAINS(). I suspect this is true across the board.\r\n\r\nSee JSON_EXTRACT for more details.\r\n\r\nhttps://dev.mysql.com/doc/refman/5.7/en/json-search-functions.html#function_json-extract\r\n\r\nThis is an example of function call using -> operator.\r\n\r\n`$contains = 'JSON_CONTAINS(l.mycol->\\'$[*]\\',:jsonObject)';`"},"comment":{"url":"https://api.github.com/repos/SyslogicNL/DoctrineJsonFunctions/issues/comments/246290250","html_url":"https://github.com/SyslogicNL/DoctrineJsonFunctions/issues/6#issuecomment-246290250","issue_url":"https://api.github.com/repos/SyslogicNL/DoctrineJsonFunctions/issues/6","id":246290250,"user":{"login":"Hikariii","id":1484903,"avatar_url":"https://avatars.githubusercontent.com/u/1484903?v=3","gravatar_id":"","url":"https://api.github.com/users/Hikariii","html_url":"https://github.com/Hikariii","followers_url":"https://api.github.com/users/Hikariii/followers","following_url":"https://api.github.com/users/Hikariii/following{/other_user}","gists_url":"https://api.github.com/users/Hikariii/gists{/gist_id}","starred_url":"https://api.github.com/users/Hikariii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hikariii/subscriptions","organizations_url":"https://api.github.com/users/Hikariii/orgs","repos_url":"https://api.github.com/users/Hikariii/repos","events_url":"https://api.github.com/users/Hikariii/events{/privacy}","received_events_url":"https://api.github.com/users/Hikariii/received_events","type":"User","site_admin":false},"created_at":"2016-09-12T09:08:12Z","updated_at":"2016-09-12T09:08:12Z","body":"Very true. It is alot more complex to get the Doctrine lexer working for this arrow function.\r\nThe current solution is just to use JSON_EXTRACT since it is a stand-in replacement for these arrow functions.\r\nDo you have a specific use-case that needs the arrow?\r\nOf course you are welcome to fork and create a pull request."}}
{"actor":{"display_login":"Hikariii"}}