T
- the type of document to insert. This can be of any type for which a Codec
is registeredpublic final class InsertOneModel<T> extends WriteModel<T>
Constructor and Description |
---|
InsertOneModel(T document)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
T |
getDocument()
Gets the document to insert.
|