doctrine (2)

Iwan Luijks

Efficient Doctrine entity iteration

There are a ton of ways described online to iterate entities efficiently in Doctrine 2.* (up to at least 2.17), but the most efficient one is definitely to lookup entities using your own for loop. <?php ... $maxLimit = 100_000; $limit = 200; $offset =…

Continue reading...