use of com.torodb.mongodb.language.update.UnsetFieldUpdateAction in project torodb by torodb.
the class UpdateActionTranslator method translateUnsetField.
private static void translateUnsetField(CompositeUpdateAction.Builder builder, BsonDocument argument) {
for (Entry<?> entry : argument) {
Collection<AttributeReference> attRefs = parseAttributeReference(entry.getKey());
builder.add(new UnsetFieldUpdateAction(attRefs), false);
}
}
Aggregations