1
0
Fork 0
mirror of synced 2025-04-02 21:06:18 +03:00
doctrine2/lib
Oliver Tischlinger 3e26330c53 check if collection is empty without loading it
Actually isEmpty() is always loading the collection in LazyCriteriaCollection.
A lazy version should use the existing functionality of count() to check if there are no elements if the collection is not initialized.
2015-09-23 17:34:11 +02:00
..
Doctrine/ORM check if collection is empty without loading it 2015-09-23 17:34:11 +02:00