Adding and Editing Data

  • Exposes functionality that allows you to perform multiple operations on the store within a single write transaction.

    You must use the scoped method to get collection-scoped access to the write transaction object, which will then allow you to perform insert, update, remove or evict operations using the write transaction.

    See more

    Declaration

    Objective-C

    @interface DITWriteTransaction : NSObject
  • Exposes functionality that allows you to perform multiple operations on the store within a single write transaction.

    A DITScopedWriteTransaction is scoped to a specific collection, obtained by calling scoped on a DITWriteTransaction.

    See more

    Declaration

    Objective-C

    @interface DITScopedWriteTransaction : NSObject
  • These objects are returned when using find and findAll functionality on DITScopedWriteTransactions.

    You can use them to perform updates on documents and remove or evict documents.

    See more

    Declaration

    Objective-C

    @interface DITWriteTransactionPendingCursorOperation : NSObject
  • These objects are returned when using findByID functionality on DITScopedWriteTransactions.

    You can use them to perform updates on a document and remove or evict a document.

    See more

    Declaration

    Objective-C

    @interface DITWriteTransactionPendingIDSpecificOperation : NSObject
  • Provides information about a successful update operation on a document.

    The update result can be one of the following types:

    • set
    • removed
    • replacedWithCounter
    • incremented
    • pushed
    • popped
    • inserted
    See more

    Declaration

    Objective-C

    @interface DITUpdateResult : NSObject
  • The types of update result.

    See more

    Declaration

    Objective-C

    enum DITUpdateResultType : NSUInteger {}
  • Provides information about the result of an operation on a document that was part of a write transaction.

    The write transaction result can be one of the following types:

    • inserted
    • removed
    • evicted
    • updated
    See more

    Declaration

    Objective-C

    @interface DITWriteTransactionResult : NSObject
  • The types of write transaction results.

    See more

    Declaration

    Objective-C

    enum DITWriteTransactionResultType : NSUInteger {}