EntityManager
public protocol EntityManager
Undocumented
-
Undocumented
Declaration
Swift
associatedtype Q : QueryBuilder
-
Undocumented
Declaration
Swift
func createQueryBuilder() -> Q
-
find(_:
Asynchronousid: ) Undocumented
Declaration
Swift
func find<E, I>(_ entityType: E.Type, id: I) async throws -> E? where E : Entity, I : Hashable
-
flush()
AsynchronousUndocumented
Declaration
Swift
func flush() async throws
-
Undocumented
Declaration
Swift
func getRepository<R>(_ repositoryType: R.Type) -> R where R : Repository
-
Undocumented
Declaration
Swift
func persist<E>(_ entity: inout E) throws where E : Entity
-
Undocumented
Declaration
Swift
func refresh<E>(_ entity: inout E) throws where E : Entity
-
Undocumented
Declaration
Swift
func remove<E>(_ entity: E) where E : Entity