From def08c1e3c94b1d309650167c00d81cfccfb0476 Mon Sep 17 00:00:00 2001 From: Gwynne Raskind Date: Wed, 18 Oct 2023 12:22:10 -0500 Subject: [PATCH] Make decodeNil handling consistent with the other drivers --- Sources/SQLiteKit/SQLiteRow+SQLRow.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SQLiteKit/SQLiteRow+SQLRow.swift b/Sources/SQLiteKit/SQLiteRow+SQLRow.swift index fef8ab1..75081cf 100644 --- a/Sources/SQLiteKit/SQLiteRow+SQLRow.swift +++ b/Sources/SQLiteKit/SQLiteRow+SQLRow.swift @@ -8,7 +8,7 @@ extension SQLiteRow: SQLRow { public func decodeNil(column: String) throws -> Bool { guard let data = self.column(column) else { - throw MissingColumn(column: column) + return true } return data == .null }