I've been using symfony 2 for quite sometime already and Doctrine 2 has a way to mass select via unbuffered query ie
$query->iterate();
Now I have to work on some legacy software that's using Symfony 1.4 w/ Doctrine 1.2 and it would be quite useful to have something like that, but unfortunately I can't seem to find it anywhere in the documentation.
Any suggestions?
Thanks!
iterate()
there's this sentence "Results may be fully buffered by the database client/ connection allocating additional memory not visible to the PHP process.", which means that sometimes this query may NOT be unbuffered. Did you by any chance have any insight as to when it may happend? Any warnings or gotchas? doctrine-orm.readthedocs.org/en/latest/reference/… – Dimitry K