Future<JsonObject> |
MongoClient.findOneAndReplaceWithOptions(String collection,
JsonObject query,
JsonObject replace,
FindOptions findOptions,
UpdateOptions updateOptions) |
Find a single matching document in the specified collection and replace it.
|
Future<JsonObject> |
MongoClient.findOneAndUpdateWithOptions(String collection,
JsonObject query,
JsonObject update,
FindOptions findOptions,
UpdateOptions updateOptions) |
Find a single matching document in the specified collection and update it.
|
Future<MongoClientUpdateResult> |
MongoClient.replaceDocumentsWithOptions(String collection,
JsonObject query,
JsonObject replace,
UpdateOptions options) |
Replace matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result
|
Future<MongoClientUpdateResult> |
MongoClient.updateCollectionWithOptions(String collection,
JsonObject query,
JsonArray update,
UpdateOptions options) |
Use an aggregation pipeline to update documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result
|
Future<MongoClientUpdateResult> |
MongoClient.updateCollectionWithOptions(String collection,
JsonObject query,
JsonObject update,
UpdateOptions options) |
Update matching documents in the specified collection, specifying options and return the handler with MongoClientUpdateResult result
|