Ooops. Managed to remove the id deletion.
This commit is contained in:
parent
fa69405239
commit
1ced407e20
@ -142,6 +142,7 @@ public class DriverMongo extends DriverAbstract
|
||||
BasicDBObject raw = (BasicDBObject)dbcoll.findOne(new BasicDBObject(ID_FIELD, id));
|
||||
if (raw == null) return null;
|
||||
|
||||
raw.removeField(ID_FIELD);
|
||||
Long mtime = 0L;
|
||||
Object mtimeObject = raw.removeField(MTIME_FIELD);
|
||||
if (mtimeObject != null)
|
||||
|
Loading…
Reference in New Issue
Block a user