Doctrine MongoDB ODM

DocumentPersister's prepareQuery() method is not suitable for preparing newObj for update queries