Xcode 12.3 formatting

This commit is contained in:
Gwendal Roué committed 2020-12-23 12:13:05 +01:00
1 parent 3a76b84eae
commit 836efb120f
70 files changed
+612 -634

No files matched your search

@@ -48,7 +48,7 @@ extension TableRecord {
public static func select(
sql: String,
arguments: StatementArguments = StatementArguments())
-> QueryInterfaceRequest<Self>
-> QueryInterfaceRequest<Self>
{
select(literal: SQLLiteral(sql: sql, arguments: arguments))
}
@@ -72,7 +72,7 @@ extension TableRecord {
public static func select<RowDecoder>(
_ selection: [SQLSelectable],
as type: RowDecoder.Type = RowDecoder.self)
-> QueryInterfaceRequest<RowDecoder>
-> QueryInterfaceRequest<RowDecoder>
{
all().select(selection, as: type)
}
@@ -88,7 +88,7 @@ extension TableRecord {
public static func select<RowDecoder>(
_ selection: SQLSelectable...,
as type: RowDecoder.Type = RowDecoder.self)
-> QueryInterfaceRequest<RowDecoder>
-> QueryInterfaceRequest<RowDecoder>
{
all().select(selection, as: type)
}
@@ -105,7 +105,7 @@ extension TableRecord {
sql: String,
arguments: StatementArguments = StatementArguments(),
as type: RowDecoder.Type = RowDecoder.self)
-> QueryInterfaceRequest<RowDecoder>
-> QueryInterfaceRequest<RowDecoder>
{
all().select(literal: SQLLiteral(sql: sql, arguments: arguments), as: type)
}
@@ -121,7 +121,7 @@ extension TableRecord {
public static func select<RowDecoder>(
literal sqlLiteral: SQLLiteral,
as type: RowDecoder.Type = RowDecoder.self)
-> QueryInterfaceRequest<RowDecoder>
-> QueryInterfaceRequest<RowDecoder>
{
all().select(literal: sqlLiteral, as: type)
}
@@ -183,8 +183,8 @@ extension TableRecord {
/// all requests by the `TableRecord.databaseSelection` property, or
/// for individual requests with the `TableRecord.select` method.
public static func filter<PrimaryKeyType>(key: PrimaryKeyType?)
-> QueryInterfaceRequest<Self>
where PrimaryKeyType: DatabaseValueConvertible
-> QueryInterfaceRequest<Self>
where PrimaryKeyType: DatabaseValueConvertible
{
all().filter(key: key)
}
@@ -198,8 +198,8 @@ extension TableRecord {
/// all requests by the `TableRecord.databaseSelection` property, or
/// for individual requests with the `TableRecord.select` method.
public static func filter<Sequence>(keys: Sequence)
-> QueryInterfaceRequest<Self>
where Sequence: Swift.Sequence, Sequence.Element: DatabaseValueConvertible
-> QueryInterfaceRequest<Self>
where Sequence: Swift.Sequence, Sequence.Element: DatabaseValueConvertible
{
all().filter(keys: keys)
}
@@ -245,7 +245,7 @@ extension TableRecord {
public static func filter(
sql: String,
arguments: StatementArguments = StatementArguments())
-> QueryInterfaceRequest<Self>
-> QueryInterfaceRequest<Self>
{
filter(literal: SQLLiteral(sql: sql, arguments: arguments))
}
@@ -320,7 +320,7 @@ extension TableRecord {
public static func order(
sql: String,
arguments: StatementArguments = StatementArguments())
-> QueryInterfaceRequest<Self>
-> QueryInterfaceRequest<Self>
{
all().order(literal: SQLLiteral(sql: sql, arguments: arguments))
}