Database.sqliteConnection setter is private

This commit is contained in:
Gwendal Roué committed 2022-07-24 15:14:35 +02:00
1 parent 23f4254ae3
commit 8dc0168841
1 file changed
+4 -2
+4 -2
View File
@@ -26,8 +26,10 @@ public final class Database: CustomStringConvertible, CustomDebugStringConvertib
// MARK: - SQLite C API
/// The raw SQLite connection, suitable for the SQLite C API.
/// It is constant, until close() sets it to nil.
public var sqliteConnection: SQLiteConnection?
///
/// It is nil after the database has been successfully closed with
/// ``DatabaseReader/close()``.
public private(set) var sqliteConnection: SQLiteConnection?
// MARK: - Configuration