Skip to content

Instantly share code, notes, and snippets.

@technolize
Created November 21, 2014 09:54
Show Gist options
  • Save technolize/695498d696cdacd969fd to your computer and use it in GitHub Desktop.
Save technolize/695498d696cdacd969fd to your computer and use it in GitHub Desktop.
<?php
protected function execute(InputInterface $input, OutputInterface $output)
{
$connection = $this->getContainer()->get('database_connection');
$pdo = $connection->getWrappedConnection();
$pdo->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