DittoUpdateResultIncremented

@objc
public class DittoUpdateResultIncremented : NSObject, DittoUpdateResultValueObjC

Represents the update result that will be the value of a DittoUpdateResultObjC when its type is incremented and asIncremented is called on it.

  • The ID of the document that was updated.

    Declaration

    Swift

    @objc
    public let docID: String
  • The path to the key in the document that was updated.

    Declaration

    Swift

    @objc
    public let path: String
  • The amount that the counter was incremented by.

    Declaration

    Swift

    @objc
    public let amount: Double