• Sergei Morozov's avatar
    Removed Connection::project() · 52241e95
    Sergei Morozov authored
    The methods has more limitations and caveats than provides real use:
    
    1. It fetches all data in memory which is often inefficient (see #2718).
    2. It fetches rows in memory one by one instead of using `fetchAll()`.
    4. It doesn't allow to specify the statement fetch mode since it's instantiated internally.
    5. It can be easily replaced with:
       ```php
       foreach ($conn->executeQuery($query, $params, $types) as $value) {
          yield $function($value);
       }
       ```
    52241e95
Name
Last commit
Last update
.github Loading commit data...
bin Loading commit data...
docs Loading commit data...
lib/Doctrine/DBAL Loading commit data...
tests Loading commit data...
.appveyor.yml Loading commit data...
.doctrine-project.json Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.scrutinizer.yml Loading commit data...
.travis.yml Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
SECURITY.md Loading commit data...
UPGRADE.md Loading commit data...
composer.json Loading commit data...
composer.lock Loading commit data...
phpcs.xml.dist Loading commit data...
phpstan.neon.dist Loading commit data...
phpunit.xml.dist Loading commit data...
run-all.sh Loading commit data...