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{}

extends{}

  • arggenericParameterA

Members 2

  1. funcAppPrivateData.Create< where A: AppPrivateData.EntityType>.migrate<A where A1: AppPrivateData.EntityType>(from: A1.Type, ifNotExists: Bool, migrate: (A1) throws -> A?) throws -> ()
  2. funcAppPrivateData.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 -> ()
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
    }
}