[MODM-128] Upserts in Query builder Created: 23/Feb/11 Updated: 23/Feb/11
|Project:||Doctrine MongoDB ODM|
|Reporter:||Billy Bob||Assignee:||Jonathan H. Wage|
Mac OS X + MAMP
It seems that if you just call upsert(true) in a update request, it won't be enough. You have to calm getQuery(array('upsert' => true)) as well in order to have the 'insert if not exist' working.