Class InsertRequest


  • public final class InsertRequest
    extends WriteRequest
    A representation of a document to insert.
    Since:
    3.0
    • Constructor Detail

      • InsertRequest

        public InsertRequest​(BsonDocument document)
        Construct an instance with the given document.
        Parameters:
        document - the document, which may not be null