mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
AppDatabase can be a struct, so let it be a struct
This commit is contained in:
1 parent
d242421862
commit
c666393e63
1 file changed
+1
-1
@@ -12,7 +12,7 @@ import os.log
|
||||
/// let dbQueue = try DatabaseQueue(configuration: config)
|
||||
/// let appDatabase = try AppDatabase(dbQueue)
|
||||
/// ```
|
||||
final class AppDatabase: Sendable {
|
||||
struct AppDatabase: Sendable {
|
||||
/// Access to the database.
|
||||
///
|
||||
/// See <https://swiftpackageindex.com/groue/GRDB.swift/documentation/grdb/databaseconnections>
|
||||
|
||||
Reference in new issue
Block a user