| Constructor and Description |
|---|
InsertManyOptions() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isOrdered()
Gets whether the documents should be inserted in the order provided, stopping on the first failed insertion.
|
InsertManyOptions |
ordered(boolean ordered)
Sets whether the server should insert the documents in the order provided.
|
public boolean isOrdered()
public InsertManyOptions ordered(boolean ordered)
ordered - true if documents should be inserted in order