public final class InsertOneOptions
extends java.lang.Object
| 构造器和说明 |
|---|
InsertOneOptions() |
| 限定符和类型 | 方法和说明 |
|---|---|
InsertOneOptions |
bypassDocumentValidation(java.lang.Boolean bypassDocumentValidation)
Sets the bypass document level validation flag.
|
java.lang.Boolean |
getBypassDocumentValidation()
Gets the the bypass document level validation flag
|
public java.lang.Boolean getBypassDocumentValidation()
public InsertOneOptions bypassDocumentValidation(java.lang.Boolean bypassDocumentValidation)
bypassDocumentValidation - If true, allows the write to opt-out of document level validation.