Class BulkDocs

All Implemented Interfaces:
ObjectModel

public class BulkDocs extends GenericModel
Schema for submitting documents for bulk modifications.
  • Method Details

    • newBuilder

      public BulkDocs.Builder newBuilder()
      New builder.
      Returns:
      a BulkDocs builder
    • docs

      public List<Document> docs()
      Gets the docs. Array of documents.
      Returns:
      the docs
    • newEdits

      public Boolean newEdits()
      Gets the newEdits. If `false`, prevents the database from assigning them new revision IDs. Default is `true`. Avoid using this parameter, since this option applies document revisions without checking for conflicts, so it is very easy to accidentally end up with a large number of conflicts.
      Returns:
      the newEdits