Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: upgrade to dbal 2.7, use doctrine constants instead of pdo #357

Closed
wants to merge 1 commit into from

Conversation

dbu
Copy link
Member

@dbu dbu commented May 3, 2018

fix #355

what about PDO::FETCH_KEY_PAIR and PDO::FETCH_UNIQUE | PDO::FETCH_GROUP

@dbu dbu force-pushed the doctrine-dbal-2.7 branch from e5ec585 to 832adc2 Compare May 3, 2018 07:30
@Majkl578
Copy link

Majkl578 commented May 3, 2018

You will need to keep those constants from PDO for now if you rely on such behavior (but it's been deprecated).
DBAL does not support those modes natively (they are PDO-only) and support for them will likely be removed in 3.0 entirely (although KEY_PAIR mode may be supported natively in 3.0, see doctrine/dbal#3111).

@dbu
Copy link
Member Author

dbu commented Sep 21, 2021

fixed in #373

@dbu dbu closed this Sep 21, 2021
@dbu dbu deleted the doctrine-dbal-2.7 branch September 21, 2021 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

avoid using deprecated PDO:: constants in calls to doctrine dbal
2 participants