I'm pretty sure that today we use the DBObject we load from MongoDB do be the filter query in the update operation.
We should restrict it to the id column(s). Probably _id once OGM-174 is closed. Otherwise we might end up not updating the data by having a too restrictive query.
Guillaume, does my analysis makes sense? Or does the MongoDB driver automatically filter by _id somehow and ignore the rest?
|