TransactionalRelation

public class TransactionalRelation : MutableRelation, RelationDefaultChangeObserverImplementation

Undocumented

  • Undocumented

    Declaration

    Swift

    public func takeSnapshot() -> ChangeLoggingRelationSnapshot
  • Undocumented

    Declaration

    Swift

    public func rawRestoreSnapshot(_ snapshot: ChangeLoggingRelationSnapshot) -> Result<RelationChange, RelationError>
  • Undocumented

    Declaration

    Swift

    public func computeDelta(from: ChangeLoggingRelationSnapshot, to: ChangeLoggingRelationSnapshot) -> ChangeLoggingRelationDelta
  • Undocumented

    Declaration

    Swift

    public func apply(delta: ChangeLoggingRelationDelta) -> Result<Void, RelationError>
  • Replaces the rows in this relation (asynchronously) by performing a delete-all followed by an add for each row.

    Declaration

    Swift

    public func asyncReplaceRows(_ rows: [Row])
  • Replaces the rows in this relation (asynchronously) by performing a delete-all followed by an add for each value.

    Declaration

    Swift

    public func asyncReplaceValues(_ values: [RelationValue])