SwiftclassTelephonyCoreUtils

class TelephonyCoreUtils.DataStore

Structure

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

Members 9

  1. deinitdeinit
  2. fieldlet fContext: SwiftData.ModelContext+0x10
  3. fieldvar fErrorHandler: std.std::__1.std::shared_ptr<tcu.DataStoreErrorHandlingBridge>+0x18
  4. funcaddRecord<A where A: SwiftData.PersistentModel>(model: A) -> ()
  5. funcdeleteRecords<A where A: SwiftData.PersistentModel>(model: A.Type, predicate: Foundation.Predicate<Pack{A}>) -> ()
  6. funcdeleteRecords<A where A: SwiftData.PersistentModel>(records: [A]) -> ()
  7. funcgetRecords<A where A: SwiftData.PersistentModel>(SwiftData.FetchDescriptor<A>) -> [A]?
  8. funcsave() -> ()
  9. initTelephonyCoreUtils.DataStore.__allocating_init(configurationName: String, schema: SwiftData.Schema, url: Foundation.URL, errorHandler: std.__1.shared_ptr<tcu.DataStoreErrorHandlingBridge>) -> TelephonyCoreUtils.DataStore?
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
}