From 1b6d847211418fd8ff566b748eef88c898c4e933 Mon Sep 17 00:00:00 2001 From: Brian Webster Date: Wed, 17 Jan 2024 21:55:16 -0800 Subject: [PATCH] Fix queries made with named arguments to be passed to Database.Core correctly --- Sources/Blackbird/BlackbirdDatabase.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Blackbird/BlackbirdDatabase.swift b/Sources/Blackbird/BlackbirdDatabase.swift index feed208..6b0ed3b 100644 --- a/Sources/Blackbird/BlackbirdDatabase.swift +++ b/Sources/Blackbird/BlackbirdDatabase.swift @@ -477,7 +477,7 @@ extension Blackbird { @discardableResult public func query(_ query: String, arguments: [Sendable]) async throws -> [Blackbird.Row] { return try await core.query(query, arguments) } - @discardableResult public func query(_ query: String, arguments: [String: Sendable]) async throws -> [Blackbird.Row] { return try await core.query(query, arguments) } + @discardableResult public func query(_ query: String, arguments: [String: Sendable]) async throws -> [Blackbird.Row] { return try await core.query(query, arguments: arguments) } public func setArtificialQueryDelay(_ delay: TimeInterval?) async { await core.setArtificialQueryDelay(delay) }