io.realm.mongodb.mongo.options
The options to apply when updating documents.
Constructores
Constructor and Description |
|---|
Resumen del método
Modificador y Tipo | Método y descripción |
|---|---|
public booleano | isUpsert () Devuelve verdadero si se debe insertar un nuevo documento si no hay coincidencias con el filtro de query. |
public String | toString () |
public UpdateOptions | Set to true if a new document should be inserted if there are no matches to the query filter. |
Inherited Methods
Métodos heredados de la clase java.lang.Object:
getClass,hashCode,equals,clone,toString,notify,notifyAll,wait,wait,wait,finalize
Constructor Detail
public UpdateOptions () |
|---|
Detalle del método
isUpsert
public boolean isUpsert () |
|---|
Devuelve verdadero si se debe insertar un nuevo documento si no hay coincidencias con el filtro de query. El valor por defecto es falso. Devuelve true si se debe insertar un nuevo documento si no hay coincidencias con el filtro de query |
toString
inserción
Set to true if a new document should be inserted if there are no matches to the query filter. Parámetros
Devuelve this |