SwiftextensionProductKitCore

extension CKDatabase

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

extends{}

Members 1

  1. funcfetchAllRecords(of: String) async throws -> [(CKRecordID, CKRecord)]
extension __C.CKDatabase {
    struct CKRecordCRUD {
        let container: __C.CKContainer
        let database: __C.CKDatabase

        init(container: __C.CKContainer, database: __C.CKDatabase)

        func read(_: __C.CKRecordID, desiredFields: [Swift.String]?) async throws -> __C.CKRecord?
        func read(_: __C.CKRecordID) async throws -> __C.CKRecord?
        func create(_: __C.CKRecordID, value: __C.CKRecord) async throws
        func delete(_: __C.CKRecordID) async throws
        func update(_: __C.CKRecordID, value: __C.CKRecord) async throws
    }
    struct CKZoneCRUD {
        let container: __C.CKContainer
        let database: __C.CKDatabase

        init(container: __C.CKContainer, database: __C.CKDatabase)

        func read(_: __C.CKRecordZoneID) async throws -> __C.CKRecordZone?
        func create(_: __C.CKRecordZoneID, value: __C.CKRecordZone) async throws
        func delete(_: __C.CKRecordZoneID) async throws
        func update(_: __C.CKRecordZoneID, value: __C.CKRecordZone) async throws
    }
    func fetchAllRecords(of: Swift.String) async throws -> [(__C.CKRecordID, __C.CKRecord)]
}