Package com.mongodb.client.model
Class InsertOneModel<T>
java.lang.Object
com.mongodb.client.model.WriteModel<T>
com.mongodb.client.model.InsertOneModel<T>
- Type Parameters:
T
- the type of document to insert. This can be of any type for which aCodec
is registered
A model describing an insert of a single document.
- Since:
- 3.0
- MongoDB documentation
- Insert
-
Constructor Summary
-
Method Summary