Package com.mongodb.client.model
Class InsertOneOptions
java.lang.Object
com.mongodb.client.model.InsertOneOptions
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
The options to apply to an operation that inserts a single document into a collection.
- Since:
- 3.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbypassDocumentValidation
(Boolean bypassDocumentValidation) Deprecated.Sets the bypass document level validation flag.Deprecated.Gets the the bypass document level validation flagtoString()
Deprecated.
-
Constructor Details
-
InsertOneOptions
public InsertOneOptions()Deprecated.
-
-
Method Details
-
getBypassDocumentValidation
Deprecated.Gets the the bypass document level validation flag- Returns:
- the bypass document level validation flag
-
bypassDocumentValidation
Deprecated.Sets the bypass document level validation flag.- Parameters:
bypassDocumentValidation
- If true, allows the write to opt-out of document level validation.- Returns:
- this
-
toString
Deprecated.
-