Remove ill-advised TODO

This would force users to force-unwrap their custom `ColumnType(rawValue: "WHATEVER")!`
This commit is contained in:
Gwendal Roué committed 2024-03-27 17:39:10 +01:00
1 parent 57ac5ddbb3
commit c14b194637
1 file changed
-3
-3
View File
@@ -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