From bce5e015494d714d0974d2dc4336c1c58fd58411 Mon Sep 17 00:00:00 2001 From: Nathan Fallet Date: Sat, 16 Apr 2022 08:23:21 +0200 Subject: [PATCH] Adding a public typealias for Database (#132) --- Sources/SwiftKueryORM/TypeAliases.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/SwiftKueryORM/TypeAliases.swift b/Sources/SwiftKueryORM/TypeAliases.swift index 17b9d6d..d7748e9 100644 --- a/Sources/SwiftKueryORM/TypeAliases.swift +++ b/Sources/SwiftKueryORM/TypeAliases.swift @@ -22,6 +22,9 @@ import SwiftKuery The purpose is to expose these types at the top level without having to import a specific dependency. */ +/// Type Alias for Database (See [#22](https://github.com/Kitura/Swift-Kuery-ORM/issues/22)) +public typealias ORMDatabase = Database + /// Type Alias for RequestError from [KituraContracts](https://github.com/Kitura/KituraContracts) public typealias RequestError = KituraContracts.RequestError