Package | Description |
---|---|
com.mongodb.async.client |
This packages contains classes for the new async client
|
com.mongodb.client |
This package contains client interfaces
|
com.mongodb.client.model |
This package contains models and options that help describe MongoCollection operations
|
Modifier and Type | Method and Description |
---|---|
void |
MongoCollection.insertMany(List<? extends TDocument> documents,
InsertManyOptions options,
SingleResultCallback<Void> callback)
Inserts one or more documents.
|
Modifier and Type | Method and Description |
---|---|
void |
MongoCollection.insertMany(List<? extends TDocument> documents,
InsertManyOptions options)
Inserts one or more documents.
|
Modifier and Type | Method and Description |
---|---|
InsertManyOptions |
InsertManyOptions.bypassDocumentValidation(Boolean bypassDocumentValidation)
Sets the bypass document level validation flag.
|
InsertManyOptions |
InsertManyOptions.ordered(boolean ordered)
Sets whether the server should insert the documents in the order provided.
|
Copyright © 2016. All Rights Reserved.