mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-29 04:24:21 +00:00
Fix Swiftlint warnings
This commit is contained in:
1 parent
efdebf59d3
commit
7345c5f2dd
2 files changed
+12
-2
No files matched your search
@@ -528,7 +528,12 @@ extension QueryInterfaceRequest where T: MutablePersistableRecord {
|
||||
/// - returns: The number of updated rows
|
||||
/// - throws: A DatabaseError is thrown whenever an SQLite error occurs.
|
||||
@discardableResult
|
||||
public func updateAll(_ db: Database, _ assignment: ColumnAssignment, _ otherAssignments: ColumnAssignment...) throws -> Int {
|
||||
public func updateAll(
|
||||
_ db: Database,
|
||||
_ assignment: ColumnAssignment,
|
||||
_ otherAssignments: ColumnAssignment...)
|
||||
throws -> Int
|
||||
{
|
||||
return try updateAll(db, [assignment] + otherAssignments)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user