public static interface ExecutableRemoveOperation.TerminatingRemove<T>
| Modifier and Type | Method and Description |
|---|---|
com.mongodb.client.result.DeleteResult |
all()
Remove all documents matching.
|
List<T> |
findAndRemove()
Remove and return all matching documents.
|
com.mongodb.client.result.DeleteResult |
one()
Remove the first matching document.
|
com.mongodb.client.result.DeleteResult all()
DeleteResult. Never null.com.mongodb.client.result.DeleteResult one()
DeleteResult. Never null.List<T> findAndRemove()
ApplicationEvents will be published for each and every delete
operation.List if no match found. Never null.Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.