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{}
- conformance:genericParameter
AprotocolTeaDB.EntityType
extends{}
classTeaDB.Create
- arggenericParameter
A
Members 2
- func
TeaDB.Create< where A: TeaDB.EntityType>.migrate<A where A1: TeaDB.EntityType>(from: A1.Type, ifNotExists: Bool, migrate: (A1) throws -> A?) throws -> () - func
TeaDB.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 -> ()
Header
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 } }