public class FindAndModifyOptions extends Object
Constructor and Description |
---|
FindAndModifyOptions() |
Modifier and Type | Method and Description |
---|---|
boolean |
isRemove() |
boolean |
isReturnNew() |
boolean |
isUpsert() |
static FindAndModifyOptions |
options()
Static factory method to create a FindAndModifyOptions instance
|
FindAndModifyOptions |
remove(boolean remove) |
FindAndModifyOptions |
returnNew(boolean returnNew) |
FindAndModifyOptions |
upsert(boolean upsert) |
public static FindAndModifyOptions options()
public FindAndModifyOptions returnNew(boolean returnNew)
public FindAndModifyOptions upsert(boolean upsert)
public FindAndModifyOptions remove(boolean remove)
public boolean isReturnNew()
public boolean isUpsert()
public boolean isRemove()
Copyright © 2012. All Rights Reserved.