SwiftclassTelephonyCoreUtils
class TelephonyCoreUtils.DataStore
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
Members 9
- deinit
deinit - field
let fContext: SwiftData.ModelContext+0x10 - field
var fErrorHandler: std.std::__1.std::shared_ptr<tcu.DataStoreErrorHandlingBridge>+0x18 - func
addRecord<A where A: SwiftData.PersistentModel>(model: A) -> () - func
deleteRecords<A where A: SwiftData.PersistentModel>(model: A.Type, predicate: Foundation.Predicate<Pack{A}>) -> () - func
deleteRecords<A where A: SwiftData.PersistentModel>(records: [A]) -> () - func
getRecords<A where A: SwiftData.PersistentModel>(SwiftData.FetchDescriptor<A>) -> [A]? - func
save() -> () - init
TelephonyCoreUtils.DataStore.__allocating_init(configurationName: String, schema: SwiftData.Schema, url: Foundation.URL, errorHandler: std.__1.shared_ptr<tcu.DataStoreErrorHandlingBridge>) -> TelephonyCoreUtils.DataStore?
Header
class DataStore { let fContext: SwiftData.ModelContext var fErrorHandler: __C.std.std::__1.std::shared_ptr<tcu.DataStoreErrorHandlingBridge> init?(configurationName: Swift.String, schema: SwiftData.Schema, url: Foundation.URL, errorHandler: __C.std.__1.shared_ptr<tcu.DataStoreErrorHandlingBridge>) func addRecord<A>(model: A) where A: SwiftData.PersistentModel func deleteRecords<A>(model: A.Type, predicate: Foundation.Predicate<A>) where A: SwiftData.PersistentModel func deleteRecords<A>(records: [A]) where A: SwiftData.PersistentModel func getRecords<A>(_: SwiftData.FetchDescriptor<A>) -> [A]? where A: SwiftData.PersistentModel func save() deinit }