{"action":"created","issue":{"url":"https://api.github.com/repos/concrete5/concrete5/issues/2756","labels_url":"https://api.github.com/repos/concrete5/concrete5/issues/2756/labels{/name}","comments_url":"https://api.github.com/repos/concrete5/concrete5/issues/2756/comments","events_url":"https://api.github.com/repos/concrete5/concrete5/issues/2756/events","html_url":"https://github.com/concrete5/concrete5/pull/2756","id":96000150,"number":2756,"title":"Alias for ADODB GetAssoc() method which returns a key/value array.","user":{"login":"mitchray","id":5735900,"avatar_url":"https://avatars.githubusercontent.com/u/5735900?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchray","html_url":"https://github.com/mitchray","followers_url":"https://api.github.com/users/mitchray/followers","following_url":"https://api.github.com/users/mitchray/following{/other_user}","gists_url":"https://api.github.com/users/mitchray/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchray/subscriptions","organizations_url":"https://api.github.com/users/mitchray/orgs","repos_url":"https://api.github.com/users/mitchray/repos","events_url":"https://api.github.com/users/mitchray/events{/privacy}","received_events_url":"https://api.github.com/users/mitchray/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-20T06:59:51Z","updated_at":"2015-07-20T18:08:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/concrete5/concrete5/pulls/2756","html_url":"https://github.com/concrete5/concrete5/pull/2756","diff_url":"https://github.com/concrete5/concrete5/pull/2756.diff","patch_url":"https://github.com/concrete5/concrete5/pull/2756.patch"},"body":"While converting a 5.6 site to 5.7 I came across an old ADODB method that hadn't been aliased yet.\r\n\r\nDoctrine's fetchAssoc() returns\r\n```\r\narray(\r\n    [0] => array(\r\n        [id] => 1\r\n        [name] => 'John'\r\n    ),\r\n\r\n    [1] => array(\r\n        [id] => 2\r\n        [name] => 'Bob'\r\n    )\r\n)\r\n```\r\n\r\nwhereas ADODB's GetAssoc() returned\r\n```\r\narray(\r\n    1 => John,\r\n    2 => Bob\r\n)\r\n```"},"comment":{"url":"https://api.github.com/repos/concrete5/concrete5/issues/comments/122970574","html_url":"https://github.com/concrete5/concrete5/pull/2756#issuecomment-122970574","issue_url":"https://api.github.com/repos/concrete5/concrete5/issues/2756","id":122970574,"user":{"login":"MeyerJL","id":1292766,"avatar_url":"https://avatars.githubusercontent.com/u/1292766?v=3","gravatar_id":"","url":"https://api.github.com/users/MeyerJL","html_url":"https://github.com/MeyerJL","followers_url":"https://api.github.com/users/MeyerJL/followers","following_url":"https://api.github.com/users/MeyerJL/following{/other_user}","gists_url":"https://api.github.com/users/MeyerJL/gists{/gist_id}","starred_url":"https://api.github.com/users/MeyerJL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MeyerJL/subscriptions","organizations_url":"https://api.github.com/users/MeyerJL/orgs","repos_url":"https://api.github.com/users/MeyerJL/repos","events_url":"https://api.github.com/users/MeyerJL/events{/privacy}","received_events_url":"https://api.github.com/users/MeyerJL/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T18:08:09Z","updated_at":"2015-07-20T18:08:09Z","body":"I'd be ok with adding it for now. We have almost all the other deprecated database methods in there, I don't see the harm in flushing that out with the assumption that these will probably all go away at the same point in time in the future. For people who are still making the migration up to 5.7 from <=5.6.* it seems kind of weird that you'd need to touch some database functions and not others."}}