From c14b1946372ea4311b346caa10f003f50e676bbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sat, 10 Feb 2024 17:15:52 +0100 Subject: [PATCH] Remove ill-advised TODO This would force users to force-unwrap their custom `ColumnType(rawValue: "WHATEVER")!` --- GRDB/Core/Database.swift | 3 --- 1 file changed, 3 deletions(-) diff --git a/GRDB/Core/Database.swift b/GRDB/Core/Database.swift index 68941ec2a..7fbdf3b2a 100644 --- a/GRDB/Core/Database.swift +++ b/GRDB/Core/Database.swift @@ -124,8 +124,6 @@ public final class Database: CustomStringConvertible, CustomDebugStringConvertib // MARK: - SQLite C API - // TODO: make it non optional, since one can't get a `Database` instance - // after `close()`. /// The raw SQLite connection, suitable for the SQLite C API. /// /// The result is nil after the database has been successfully closed with @@ -1921,7 +1919,6 @@ extension Database { /// The SQL for the column type (`"TEXT"`, `"BLOB"`, etc.) public let rawValue: String - // TODO: GRDB7 make it an failable initializer that returns nil when rawValue is empty (or blank). /// Creates an SQL column type. public init(rawValue: String) { self.rawValue = rawValue