public class AddToSetEachModifier extends AbstractModifier
| Constructor and Description |
|---|
AddToSetEachModifier(java.util.Collection<?> values) |
AddToSetEachModifier(java.lang.Object[] values) |
| Modifier and Type | Method and Description |
|---|---|
com.mongodb.DBObject |
toModifierObject(java.lang.String propertyName)
Returns the query representation of the
Modifier. |
toStringpublic AddToSetEachModifier(java.lang.Object[] values)
public AddToSetEachModifier(java.util.Collection<?> values)
public com.mongodb.DBObject toModifierObject(java.lang.String propertyName)
AbstractModifierModifier.
Most of the time this will be a DBObject, but
it can be anything accepted by the MongoDB java driver.toModifierObject in interface ModifiertoModifierObject in class AbstractModifierObjectCopyright © 2013. All Rights Reserved.