Last active
June 24, 2021 12:48
-
-
Save mdurys/b5912c634a5af3848408 to your computer and use it in GitHub Desktop.
Doctrine2: setting PDO attribute on runtime
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $em | |
| ->getConnection() | |
| ->getWrappedConnection() | |
| ->setAttribute(\PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, false); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment