Fix Swiftlint warnings

This commit is contained in:
Gwendal Roué committed 2019-11-08 09:04:34 +01:00
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)
}
}