We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c74c887 commit 2b0e8a9Copy full SHA for 2b0e8a9
Sources/PostgreSQL/SQL/PostgreSQLUpsert.swift
@@ -6,7 +6,7 @@ public struct PostgreSQLUpsert: SQLSerializable {
6
public typealias Expression = PostgreSQLExpression
7
8
/// See `SQLUpsert`.
9
- public static func upsert(_ columns: [PostgreSQLColumnIdentifier]? = nil, _ values: [(Identifier, Expression)]) -> PostgreSQLUpsert {
+ public static func upsert(_ columns: [PostgreSQLColumnIdentifier]?, _ values: [(Identifier, Expression)]) -> PostgreSQLUpsert {
10
if let columns = columns, !columns.isEmpty {
11
return self.init(columns: columns, values: values)
12
} else {
0 commit comments