{"action":"created","issue":{"url":"https://api.github.com/repos/doctrine/dbal/issues/3111","repository_url":"https://api.github.com/repos/doctrine/dbal","labels_url":"https://api.github.com/repos/doctrine/dbal/issues/3111/labels{/name}","comments_url":"https://api.github.com/repos/doctrine/dbal/issues/3111/comments","events_url":"https://api.github.com/repos/doctrine/dbal/issues/3111/events","html_url":"https://github.com/doctrine/dbal/issues/3111","id":315534253,"node_id":"MDU6SXNzdWUzMTU1MzQyNTM=","number":3111,"title":"PDO::FETCH_KEY_PAIR Missing from FetchMode Constants","user":{"login":"chrisguitarguy","id":1010392,"node_id":"MDQ6VXNlcjEwMTAzOTI=","avatar_url":"https://avatars1.githubusercontent.com/u/1010392?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisguitarguy","html_url":"https://github.com/chrisguitarguy","followers_url":"https://api.github.com/users/chrisguitarguy/followers","following_url":"https://api.github.com/users/chrisguitarguy/following{/other_user}","gists_url":"https://api.github.com/users/chrisguitarguy/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisguitarguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisguitarguy/subscriptions","organizations_url":"https://api.github.com/users/chrisguitarguy/orgs","repos_url":"https://api.github.com/users/chrisguitarguy/repos","events_url":"https://api.github.com/users/chrisguitarguy/events{/privacy}","received_events_url":"https://api.github.com/users/chrisguitarguy/received_events","type":"User","site_admin":false},"labels":[{"id":308807734,"node_id":"MDU6TGFiZWwzMDg4MDc3MzQ=","url":"https://api.github.com/repos/doctrine/dbal/labels/Drivers","name":"Drivers","color":"bfe5bf","default":false},{"id":296190901,"node_id":"MDU6TGFiZWwyOTYxOTA5MDE=","url":"https://api.github.com/repos/doctrine/dbal/labels/New%20Feature","name":"New Feature","color":"5319e7","default":false},{"id":309163317,"node_id":"MDU6TGFiZWwzMDkxNjMzMTc=","url":"https://api.github.com/repos/doctrine/dbal/labels/PDO","name":"PDO","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/doctrine/dbal/milestones/3","html_url":"https://github.com/doctrine/dbal/milestone/3","labels_url":"https://api.github.com/repos/doctrine/dbal/milestones/3/labels","id":1446225,"node_id":"MDk6TWlsZXN0b25lMTQ0NjIyNQ==","number":3,"title":"3.0.0","description":"","creator":{"login":"beberlei","id":26936,"node_id":"MDQ6VXNlcjI2OTM2","avatar_url":"https://avatars2.githubusercontent.com/u/26936?v=4","gravatar_id":"","url":"https://api.github.com/users/beberlei","html_url":"https://github.com/beberlei","followers_url":"https://api.github.com/users/beberlei/followers","following_url":"https://api.github.com/users/beberlei/following{/other_user}","gists_url":"https://api.github.com/users/beberlei/gists{/gist_id}","starred_url":"https://api.github.com/users/beberlei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beberlei/subscriptions","organizations_url":"https://api.github.com/users/beberlei/orgs","repos_url":"https://api.github.com/users/beberlei/repos","events_url":"https://api.github.com/users/beberlei/events{/privacy}","received_events_url":"https://api.github.com/users/beberlei/received_events","type":"User","site_admin":false},"open_issues":20,"closed_issues":33,"state":"open","created_at":"2015-12-06T13:18:43Z","updated_at":"2018-08-19T15:45:42Z","due_on":null,"closed_at":null},"comments":12,"created_at":"2018-04-18T15:37:40Z","updated_at":"2018-10-01T18:00:20Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"There's no constant in `Doctrine\\DBAL\\FetchMode` for `PDO::FETCH_KEY_PAIR`.\r\n\r\nWas this intentional? Could it be added? Happy to send a PR for this, but wasn't sure if the omission was intentional.\r\n\r\nSee also #3082 where FETCH_KEY_PAIR was also mentioned."},"comment":{"url":"https://api.github.com/repos/doctrine/dbal/issues/comments/426003789","html_url":"https://github.com/doctrine/dbal/issues/3111#issuecomment-426003789","issue_url":"https://api.github.com/repos/doctrine/dbal/issues/3111","id":426003789,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjAwMzc4OQ==","user":{"login":"Philipp91","id":2501211,"node_id":"MDQ6VXNlcjI1MDEyMTE=","avatar_url":"https://avatars0.githubusercontent.com/u/2501211?v=4","gravatar_id":"","url":"https://api.github.com/users/Philipp91","html_url":"https://github.com/Philipp91","followers_url":"https://api.github.com/users/Philipp91/followers","following_url":"https://api.github.com/users/Philipp91/following{/other_user}","gists_url":"https://api.github.com/users/Philipp91/gists{/gist_id}","starred_url":"https://api.github.com/users/Philipp91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Philipp91/subscriptions","organizations_url":"https://api.github.com/users/Philipp91/orgs","repos_url":"https://api.github.com/users/Philipp91/repos","events_url":"https://api.github.com/users/Philipp91/events{/privacy}","received_events_url":"https://api.github.com/users/Philipp91/received_events","type":"User","site_admin":false},"created_at":"2018-10-01T18:00:20Z","updated_at":"2018-10-01T18:00:20Z","author_association":"NONE","body":"So when I'm using plain PDO in PHP, is there no performance benefit when I'm using `FETCH_KEY_PAIR` compared to just fetchin `ASSOC` and manually converting the result into an array mapping keys to values?"}}
{"actor":{"display_login":"Philipp91"}}