I'm using doctrine/mongodb 1.0.0-BETA1 in a symfony2.1 install.
So i'm trying to force my repository to call data from my database instead of using the object it has cached.
$audit = $dm->getRepository("WGenSimschoolsBundle:Audit")->findOneById("xxxx");
.... do something somewhere to change the object ....
At this point if I call
$audit = $dm->getRepository("WGenSimschoolsBundle:Audit")->findOneById("xxxx");
The audit data hasn't changed. It still has the object it originally fetched. If I try to
$dm->refresh($audit)
I get the same thing. Is there anyway for me to go back to the database for the value?