Lines Matching refs:row

371     let assets = rows.map { row in  in deleteUnusedAssets()
372 asset(withRow: row) in deleteUnusedAssets()
391 return rows.map { row in in allUpdates()
392 update(withRow: row, config: config) in allUpdates()
399 return rows.map { row in in allUpdates()
400 update(withRow: row, config: config) in allUpdates()
407 return rows.map { row in in allUpdateIds()
409 row["id"] as! UUID in allUpdateIds()
424 return rows.map { row in in launchableUpdates()
425 update(withRow: row, config: config) in launchableUpdates()
441 return rows.map { row in in allAssets()
442 asset(withRow: row) in allAssets()
449 return rows.map { row in in assets()
450 asset(withRow: row) in assets()
593 private func update(withRow row: [String: Any?], config: UpdatesConfig) -> Update { in update()
594 let rowManifest: String = row.requiredValue(forKey: "manifest") in update()
596 let keep: NSNumber = row.requiredValue(forKey: "keep") in update()
597 let status: NSNumber = row.requiredValue(forKey: "status") in update()
598 let successfulLaunchCount: NSNumber = row.requiredValue(forKey: "successful_launch_count") in update()
599 let failedLaunchCount: NSNumber = row.requiredValue(forKey: "failed_launch_count") in update()
605 updateId: row.requiredValue(forKey: "id"), in update()
606 scopeKey: row.requiredValue(forKey: "scope_key"), in update()
607 …commitTime: UpdatesDatabaseUtils.date(fromUnixTimeMilliseconds: row.requiredValue(forKey: "commit_… in update()
608 runtimeVersion: row.requiredValue(forKey: "runtime_version"), in update()
614 …update.lastAccessed = UpdatesDatabaseUtils.date(fromUnixTimeMilliseconds: row.requiredValue(forKey… in update()
620 private func asset(withRow row: [String: Any?]) -> UpdateAsset { in asset()
621 let rowMetadata = row["metadata"] in asset()
627 let rowExtraRequestHeaders = row["extra_request_headers"] in asset()
633 let launchAssetId: NSNumber? = row.optionalValue(forKey: "launch_asset_id") in asset()
636 let rowUrl: Any? = row.optionalValue(forKey: "url") in asset()
642 let rowKey: Any? = row.optionalValue(forKey: "key") in asset()
647 let assetId: NSNumber = row.requiredValue(forKey: "id") in asset()
648 let asset = UpdateAsset(key: key, type: row.optionalValue(forKey: "type")) in asset()
652 …asset.downloadTime = UpdatesDatabaseUtils.date(fromUnixTimeMilliseconds: row.requiredValue(forKey:… in asset()
653 asset.filename = row.requiredValue(forKey: "relative_path") in asset()
654 asset.contentHash = row.requiredValue(forKey: "hash") in asset()
655 asset.expectedHash = row.optionalValue(forKey: "expected_hash") in asset()