public final class InsertOneOptions extends Object
Constructor and Description |
---|
InsertOneOptions() |
Modifier and Type | Method and Description |
---|---|
InsertOneOptions |
bypassDocumentValidation(Boolean bypassDocumentValidation)
Sets the bypass document level validation flag.
|
Boolean |
getBypassDocumentValidation()
Gets the the bypass document level validation flag
|
String |
toString() |
@Nullable public Boolean getBypassDocumentValidation()
public InsertOneOptions bypassDocumentValidation(@Nullable Boolean bypassDocumentValidation)
bypassDocumentValidation
- If true, allows the write to opt-out of document level validation.Copyright © 2010 - 2020 Adobe. All Rights Reserved