SwiftextensionAppPrivateData
extension AppPrivateData.Create where A: AppPrivateData.EntityType
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
generic{}
A
req{}
- conformance:genericParameter
AprotocolAppPrivateData.EntityType
extends{}
- arggenericParameter
A
Members 2
- func
AppPrivateData.Create< where A: AppPrivateData.EntityType>.migrate<A where A1: AppPrivateData.EntityType>(from: A1.Type, ifNotExists: Bool, migrate: (A1) throws -> A?) throws -> () - func
AppPrivateData.Create< where A: AppPrivateData.EntityType>.migrate<A where A1: AppPrivateData.EntityType>(from: repeat AppPrivateData.Create<A>< where A: AppPrivateData.EntityType>.EntityMigration<A1>, ifNotExists: Bool) throws -> ()
Header
extension AppPrivateData.Create where A: AppPrivateData.EntityType { struct EntityMigration<A1> where A1: AppPrivateData.EntityType { var type: A1.Type let migrate: (_: A1) throws -> A? init(migrate: @escaping (_: A1) throws -> A?) where A: AppPrivateData.EntityType } }