mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-27 04:14:21 +00:00
Fix failing tests for #999
This commit is contained in:
1 parent
ff576d945c
commit
2f36fc06f5
1 file changed
+1
-4
@@ -967,10 +967,7 @@ extension PersistenceContainer: ColumnAddressable {
|
||||
func index(forColumn column: String) -> String? { column }
|
||||
@inline(__always)
|
||||
func databaseValue(at column: String) -> DatabaseValue {
|
||||
guard let value = self[caseInsensitive: column] else {
|
||||
fatalError("Missing column: \(column)")
|
||||
}
|
||||
return value.databaseValue
|
||||
self[caseInsensitive: column]?.databaseValue ?? .null
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user