google-code-export / morphia

Automatically exported from code.google.com/p/morphia
1 stars 0 forks source link

createUpdateOperations should allow for specifying the collection name #264

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What version are you using? (Morphia/Driver/MongoDB)
1.00 RC

I'm using an object that can be saved to multiple collections, so I need to 
specify the collection name for all of the standard operations. Would you add 
this parameter to the api please?

Original issue reported on code.google.com by mwaschko...@gmail.com on 6 Apr 2011 at 3:43

GoogleCodeExporter commented 9 years ago
This is controlled through the Query used for the update/findAndModify not in 
the UpdateOperations object.

Original comment by scotthernandez on 19 Jun 2011 at 12:01