mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-26 04:07:50 +00:00
Fix typo
This commit is contained in:
1 parent
2316fb3831
commit
fedcdef65e
1 file changed
+2
-2
@@ -1050,11 +1050,11 @@ extension QueryInterfaceRequest {
|
||||
public func updateAll(
|
||||
_ db: Database,
|
||||
onConflict conflictResolution: Database.ConflictResolution? = nil,
|
||||
assignments: (RowDecoder.ColumnsProvider) -> ColumnAssignment
|
||||
assignment: (RowDecoder.ColumnsProvider) -> ColumnAssignment
|
||||
) throws -> Int
|
||||
where RowDecoder: TableRecord
|
||||
{
|
||||
try updateAll(db, onConflict: conflictResolution, [assignments(RowDecoder.columns)])
|
||||
try updateAll(db, onConflict: conflictResolution, [assignment(RowDecoder.columns)])
|
||||
}
|
||||
|
||||
/// Updates matching rows, and returns the number of updated rows.
|
||||
|
||||
Reference in new issue
Block a user