dbal: PDO::FETCH_KEY_PAIR Missing from FetchMode Constants
There’s no constant in Doctrine\DBAL\FetchMode
for PDO::FETCH_KEY_PAIR
.
Was this intentional? Could it be added? Happy to send a PR for this, but wasn’t sure if the omission was intentional.
See also #3082 where FETCH_KEY_PAIR was also mentioned.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 17 (12 by maintainers)
@dave-redfern the implementation itself is not difficult. The point is that we don’t want to reimplement it across drivers, we want things like that to be implementable once on the wrapper level. But it requires API redesign.