Rename count methods in WriteResults

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 0.1.2
    • Affects Version/s: 0.1.1
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The CRUD spec defines BulkWriteResult which should match our WriteResult

      class BulkWriteResult {
      
        /**
         * Indicates whether this write result was ackowledged. If not, then all
         * other members of this result will be undefined.
         */
        acknowledged: Boolean optional;
      
        /**
         * Number of documents inserted.
         */
        insertedCount: Int64 required;
      
        /**
         * Map of the index of the operation to the id of the inserted document.
         */
        insertedIds: Map<Int64, any> optional;
      
        /**
         * Number of documents matched for update.
         */
        matchedCount: Int64 required;
      
        /**
         * Number of documents modified.
         */
        modifiedCount: Int64 required;
      
        /**
         * Number of documents deleted.
         */
        deletedCount: Int64 required;
      
        /**
         * Number of documents upserted.
         */
        upsertedCount: Int64 required;
      
        /**
         * Map of the index of the operation to the id of the upserted document.
         */
        upsertedIds: Map<Int64, any> required;
      
      }
      

              Assignee:
              Hannes Magnusson (Inactive)
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: