Skip to content

Commit

Permalink
Merge pull request #24 from bewebste/named-argument-fix
Browse files Browse the repository at this point in the history
Fix queries made with named arguments to be passed to Database.Core correctly (thanks!)
  • Loading branch information
marcoarment authored Jan 18, 2024
2 parents 4d222b4 + 1b6d847 commit 9b3bf0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Blackbird/BlackbirdDatabase.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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) }

Expand Down

0 comments on commit 9b3bf0f

Please sign in to comment.