protected static class MongoDBRepository.UpdateListBuilder extends Object
This happens if two operations act on two fields where one is a prefix of the other.
Example: Cannot update 'mylist.0.string' and 'mylist' at the same time (error 16837)
Modifier and Type | Field and Description |
---|---|
protected List<String> |
keys |
protected com.mongodb.DBObject |
update |
protected List<com.mongodb.DBObject> |
updateList |
Modifier | Constructor and Description |
---|---|
protected |
UpdateListBuilder() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
conflicts(String key,
List<String> previousKeys)
Checks if the key conflicts with one of the previous keys.
|
protected void |
newUpdate() |
protected void |
update(String op,
String key,
Object value) |
protected List<com.mongodb.DBObject> updateList
protected com.mongodb.DBObject update
protected UpdateListBuilder()
protected void newUpdate()
Copyright © 2016 Nuxeo SA. All rights reserved.