Class InsertOneOptions

java.lang.Object
com.mongodb.client.model.InsertOneOptions

public final class InsertOneOptions extends Object
The options to apply to an operation that inserts a single document into a collection.
Since:
3.2
MongoDB documentation
Insert Tutorial
Insert Command
Since server release
3.2
  • Constructor Details

    • InsertOneOptions

      public InsertOneOptions()
  • Method Details