From 3685d6d505d43cbcf197775ba2fa183d01e3c5a1 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 6281109b3..474373db5 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 @@ -1923,7 +1921,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