diff --git a/src/operations/command.ts b/src/operations/command.ts index 59f8a4776d..b08f83e199 100644 --- a/src/operations/command.ts +++ b/src/operations/command.ts @@ -53,7 +53,11 @@ export interface CommandOperationOptions * In server versions 4.4 and above, 'comment' can be any valid BSON type. */ comment?: unknown; - /** Should retry failed writes */ + /** + * @deprecated + * This option is deprecated and will be removed in a future release as it is not used + * in the driver. Use MongoClientOptions or connection string parameters instead. + * */ retryWrites?: boolean; // Admin command overrides.