SwiftextensionTeaDB

extension TeaDB.Create where A: TeaDB.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. funcTeaDB.Create< where A: TeaDB.EntityType>.migrate<A where A1: TeaDB.EntityType>(from: A1.Type, ifNotExists: Bool, migrate: (A1) throws -> A?) throws -> ()
  2. funcTeaDB.Create< where A: TeaDB.EntityType>.migrate<A where A1: TeaDB.EntityType>(from: repeat TeaDB.Create<A>< where A: TeaDB.EntityType>.EntityMigration<A1>, ifNotExists: Bool) throws -> ()
extension TeaDB.Create where A: TeaDB.EntityType {
    struct EntityMigration<A1> where A1: TeaDB.EntityType {
        var type: A1.Type
        let migrate: (_: A1) throws -> A?

        init(migrate: @escaping (_: A1) throws -> A?) where A: TeaDB.EntityType
    }
}