Skip to content

Commit fedcdef

Browse files
committed
Fix typo
1 parent 2316fb3 commit fedcdef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GRDB/QueryInterface/Request/QueryInterfaceRequest.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,11 +1050,11 @@ extension QueryInterfaceRequest {
10501050
public func updateAll(
10511051
_ db: Database,
10521052
onConflict conflictResolution: Database.ConflictResolution? = nil,
1053-
assignments: (RowDecoder.ColumnsProvider) -> ColumnAssignment
1053+
assignment: (RowDecoder.ColumnsProvider) -> ColumnAssignment
10541054
) throws -> Int
10551055
where RowDecoder: TableRecord
10561056
{
1057-
try updateAll(db, onConflict: conflictResolution, [assignments(RowDecoder.columns)])
1057+
try updateAll(db, onConflict: conflictResolution, [assignment(RowDecoder.columns)])
10581058
}
10591059

10601060
/// Updates matching rows, and returns the number of updated rows.

0 commit comments

Comments
 (0)