File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
driver-reactive-streams/src/main/com/mongodb/reactivestreams/client Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -376,11 +376,17 @@ public interface MongoCluster {
376
376
* This operation is not supported by MongoDB Atlas Serverless instances.</p>
377
377
*
378
378
* @param models The {@linkplain ClientNamespacedWriteModel individual write operations}.
379
- * @return The {@link Publisher} with a single element which could be: The {@link ClientBulkWriteResult} if the operation is successful.
380
- * The {@link ClientBulkWriteException} if and only if the operation is unsuccessful or partially unsuccessful,
381
- * and there is at least one of the following pieces of information to report:
382
- * {@link ClientBulkWriteException#getWriteConcernErrors()}, {@link ClientBulkWriteException#getWriteErrors()},
383
- * {@link ClientBulkWriteException#getPartialResult()}. The {@link MongoException} only if the operation is unsuccessful.
379
+ * @return The {@link Publisher} signalling at most one element {@link ClientBulkWriteResult} if the operation is successful,
380
+ * or the following errors:
381
+ * <ul>
382
+ * <li>
383
+ * {@link ClientBulkWriteException} - If and only if the operation is unsuccessful or partially unsuccessful,
384
+ * and there is at least one of the following pieces of information to report:
385
+ * {@link ClientBulkWriteException#getWriteConcernErrors()}, {@link ClientBulkWriteException#getWriteErrors()},
386
+ * {@link ClientBulkWriteException#getPartialResult()}.</li>
387
+ * <li>
388
+ * {@link MongoException} - Only if the operation is unsuccessful.</li>
389
+ * </ul>
384
390
* @since 5.3
385
391
* @mongodb.server.release 8.0
386
392
* @mongodb.driver.manual reference/command/bulkWrite/ bulkWrite
You can’t perform that action at this time.
0 commit comments