diff --git a/vertx-mongo-client/src/main/java/io/vertx/ext/mongo/MongoClient.java b/vertx-mongo-client/src/main/java/io/vertx/ext/mongo/MongoClient.java index 3e8acc98..eae319d4 100644 --- a/vertx-mongo-client/src/main/java/io/vertx/ext/mongo/MongoClient.java +++ b/vertx-mongo-client/src/main/java/io/vertx/ext/mongo/MongoClient.java @@ -14,6 +14,8 @@ /** * A Vert.x service used to interact with MongoDB server instances. + *

+ * Some of the operations might change _id field of passed {@link JsonObject} document. * * @author Tim Fox */ @@ -67,6 +69,8 @@ static MongoClient createShared(Vertx vertx, JsonObject config) { /** * Save a document in the specified collection + *

+ * This operation might change _id field of document parameter * * @param collection the collection * @param document the document @@ -77,6 +81,8 @@ static MongoClient createShared(Vertx vertx, JsonObject config) { /** * Save a document in the specified collection with the specified write option + *

+ * This operation might change _id field of document parameter * * @param collection the collection * @param document the document @@ -88,6 +94,8 @@ static MongoClient createShared(Vertx vertx, JsonObject config) { /** * Insert a document in the specified collection + *

+ * This operation might change _id field of document parameter * * @param collection the collection * @param document the document @@ -98,6 +106,8 @@ static MongoClient createShared(Vertx vertx, JsonObject config) { /** * Insert a document in the specified collection with the specified write option + *

+ * This operation might change _id field of document parameter * * @param collection the collection * @param document the document @@ -132,6 +142,8 @@ static MongoClient createShared(Vertx vertx, JsonObject config) { /** * Replace matching documents in the specified collection + *

+ * This operation might change _id field of replace parameter * * @param collection the collection * @param query query used to match the documents @@ -143,6 +155,8 @@ static MongoClient createShared(Vertx vertx, JsonObject config) { /** * Replace matching documents in the specified collection, specifying options + *

+ * This operation might change _id field of replace parameter * * @param collection the collection * @param query query used to match the documents @@ -199,6 +213,8 @@ static MongoClient createShared(Vertx vertx, JsonObject config) { /** * Find a single matching document in the specified collection + *

+ * This operation might change _id field of query parameter * * @param collection the collection * @param query the query used to match the document