Symfony Doctrine Mongo ODM queryBuilder only returning the first document – PHP
I have this entity called Employee where one of the field is an ArrayCollection which contains another entity called Invoice stored as the invoice id. Its worth mentioning here is that Employee and Invoice has many-to-many relationship. That is 1…