Example usage for com.mongodb.client.model Updates unset

List of usage examples for com.mongodb.client.model Updates unset

Introduction

In this page you can find the example usage for com.mongodb.client.model Updates unset.

Prototype

public static Bson unset(final String fieldName) 

Source Link

Document

Creates an update that deletes the field with the given name.

Usage

From source file:com.exorath.exodata.impl.IExoDocument.java

License:Apache License

@Override
public Observable<UpdateResult> remove(String key) {
    return update(Updates.unset(key), false);
}