Contents

add(_:)

Executes the specified operation in the current database.

Declaration

func add(_ operation: CKDatabaseOperation)

Parameters

  • operation:

    The operation to execute.

Discussion

Configure the operation fully before you call this method. Prior to the operation executing, CloudKit sets its database property to the current database. The operation executes at the priority and quality of service (QoS) that you specify using the queuePriority and qualityOfService properties.