Skip to content

Commit 17381eb

Browse files
Add default value to PostgresRow.sql method
Co-Authored-By: Tanner <[email protected]>
1 parent 6eb20b2 commit 17381eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/PostgresKit/PostgresRow+SQL.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
extension PostgresRow {
2-
public func sql(using decoder: PostgresDataDecoder) -> SQLRow {
2+
public func sql(decoder: PostgresDataDecoder = .init()) -> SQLRow {
33
return _PostgreSQLRow(row: self, decoder: decoder)
44
}
55
}

0 commit comments

Comments
 (0)