doctrine/mongodb-odm — pull request #896 by malarzm (2014-06-03 07:29:17+00:00)
Title: QueryBuilder forces refresh() if select() was used

Fixes #895

I have tried detecting that document managed by UoW contains less data than just fetched ``$data`` in ``UnitOfWork::getOrCreateDocument`` but it was ~0.4s slower (for whole test suite) so imo it's no way to go.