         }
         
         Logging.log("Parsing \(records.count) records")
-        var result: [T] = []
-        var deleted: [T] = []
         for r in records {
             if let marker = r["deleted"] as? Bool, let recordName = r["recordName"] as? String, marker {
                 var record = T()

        }
        
        let continuationMarker = responseJSON["continuationMarker"] as? String
        var continuation: (() -> ())? = nil
        if let marker = continuationMarker {
            var used = cursor
            used.continuation = marker

        
        Logging.log("Loaded \(result.count)")
        Logging.log("Deleted \(deleted.count)")
    }
}

private extension CloudContainer {
    private func sendCoded<B: Encodable, R: Decodable>(body: B, to path: String, in database: CloudDatabase, completion: @escaping ((CloudCodedResult<R>) -> Void)) {
        let fullQueryPath = "/database/1/\(container)/\(env.rawValue)/\(database.rawValue)\(path)"
        let bodyData: Data
        do {
            bodyData = try encoder.encode(body)
        } catch {
            Logging.error("Encode error: \(error)")
            completion(CloudCodedResult(result: nil, error: CloudError.encode(error), continuation: nil))
            return
        }
        
