Skip to content

Update doctrine fetchAll (deprecated) #14498

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

Merged
merged 1 commit into from
Oct 30, 2020
Merged

Update doctrine fetchAll (deprecated) #14498

merged 1 commit into from
Oct 30, 2020

Conversation

qdequippe
Copy link
Contributor

@qdequippe qdequippe commented Oct 29, 2020

Since doctrine/dbal 2.11 Deprecated FetchMode and the corresponding methods

The Statement::fetchAll() method is deprecated in favor of Result::fetchAllNumeric(), ::fetchAllAssociative() and ::fetchFirstColumn()

@qdequippe qdequippe changed the title Update doctrine fetchAll deprecated Update doctrine fetchAll (deprecated) Oct 29, 2020
@javiereguiluz
Copy link
Member

Thanks for this! Could you please share some details about this? Is something that Doctrine is going to change? Is it changed already? It was merged recently in Doctrine or is it "old" and we can use it even in Symfony 4? thanks!

@qdequippe
Copy link
Contributor Author

@javiereguiluz I updated the description, is it ok for you?

@javiereguiluz
Copy link
Member

Quentin thanks a lot for the additional details and for contributing this improvement!

@javiereguiluz javiereguiluz merged commit f803d1e into symfony:4.4 Oct 30, 2020
@qdequippe qdequippe deleted the patch-2 branch October 30, 2020 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants