| 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.insertOne(TDocument document,
InsertOneOptions options,
SingleResultCallback<Void> callback)
Inserts the provided document.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MongoCollection.insertOne(TDocument document,
InsertOneOptions options)
Inserts the provided document.
|
| Modifier and Type | Method and Description |
|---|---|
InsertOneOptions |
InsertOneOptions.bypassDocumentValidation(Boolean bypassDocumentValidation)
Sets the bypass document level validation flag.
|
Copyright © 2016. All Rights Reserved.