List of usage examples for com.mongodb.client.model Updates popFirst
public static Bson popFirst(final String fieldName)
From source file:com.exorath.exodata.impl.IExoDocument.java
License:Apache License
@Override public Observable<UpdateResult> pop(String key, boolean first) { return first ? update(Updates.popFirst(key), false) : update(Updates.popLast(key), false); }