-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
I guess this is related to mongoid/mopedMONGOID-86
When using {{`
{upsert: true}}}, }}{{result{{ will return }}{}` as seen here
This PR assesses this behavior.
Without it, when using upsert, even if no document was present before, Mongoid will return an empty document.
Cheers