Skip to content

Commit

Permalink
Fix queries made with named arguments to be passed to Database.Core c…
Browse files Browse the repository at this point in the history
…orrectly
  • Loading branch information
bewebste committed Jan 18, 2024
1 parent 4d222b4 commit 1b6d847
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 1b6d847

Please sign in to comment.