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

Warn users about performance issues with DateTime objects in setParameter() #8114

Merged
merged 1 commit into from
Apr 25, 2020

Conversation

maks-rafalko
Copy link
Contributor

The full explanation of performance impact is explained in this bug report: #8113

Here is an attempt to warn developers about this potential issue, and to show how the third parameter can be used to avoid performance issue with DateTime* instances

docs/en/reference/query-builder.rst Outdated Show resolved Hide resolved
docs/en/reference/query-builder.rst Outdated Show resolved Hide resolved
@maks-rafalko
Copy link
Contributor Author

Thanks, @greg0ire, applied

@SenseException SenseException merged commit 70fb1ec into doctrine:2.7 Apr 25, 2020
@maks-rafalko maks-rafalko deleted the patch-2 branch April 25, 2020 20:33
@maks-rafalko
Copy link
Contributor Author

Thank you @greg0ire and @SenseException

@SenseException
Copy link
Member

Thank you for this docs-addition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants