Package | Description |
---|---|
com.mongodb |
The core mongodb package
|
com.mongodb.async.client |
This packages contains classes for the new async client
|
com.mongodb.client |
This package contains classes for the new client api for MongoDatabase and MongoCollection
|
com.mongodb.client.model |
This package contains models and options that help describe MongoCollection operations
|
Modifier and Type | Method and Description |
---|---|
void |
MongoCollectionImpl.insertMany(java.util.List<? extends TDocument> documents,
InsertManyOptions options) |
Modifier and Type | Method and Description |
---|---|
void |
MongoCollection.insertMany(java.util.List<? extends TDocument> documents,
InsertManyOptions options,
SingleResultCallback<java.lang.Void> callback)
Inserts one or more documents.
|
void |
MongoCollectionImpl.insertMany(java.util.List<? extends TDocument> documents,
InsertManyOptions options,
SingleResultCallback<java.lang.Void> callback) |
Modifier and Type | Method and Description |
---|---|
void |
MongoCollection.insertMany(java.util.List<? extends TDocument> documents,
InsertManyOptions options)
Inserts one or more documents.
|
Modifier and Type | Method and Description |
---|---|
InsertManyOptions |
InsertManyOptions.bypassDocumentValidation(java.lang.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.
|