Constructs a WriteConcern from the write concern properties.从写关注点属性构造WriteConcern。
request acknowledgment that the write operation has propagated to a specified number of mongod instances or to mongod instances with specified tags.请求确认写入操作已传播到指定数量的mongod
实例或具有指定标记的mongo实例。
specify a time limit to prevent write operations from blocking indefinitely指定时间限制以防止写入操作无限期阻塞
request acknowledgment that the write operation has been written to the on-disk journal请求确认写入操作已写入磁盘日志
equivalent to the j option相当于j选项
equivalent to the j option相当于j选项
request acknowledgment that the write operation has been written to the on-disk journal请求确认写入操作已写入磁盘日志
request acknowledgment that the write operation has propagated to a specified number of mongod instances or to mongod instances with specified tags.请求确认写入操作已传播到指定数量的mongod
实例或具有指定标记的mongo实例。
specify a time limit to prevent write operations from blocking indefinitely指定时间限制以防止写入操作无限期阻塞
Construct a WriteConcern given an options object.构造给定选项对象的WriteConcern
。
Generated using TypeDoc
A MongoDB WriteConcern, which describes the level of acknowledgement requested from MongoDB for write operations.MongoDB WriteConcern,描述从MongoDB请求的写入操作确认级别。https://docs.mongodb.com/manual/reference/write-concern/