Skip to content

Commit 3a95b70

Browse files
stephencelisgithub-actions[bot]
authored andcommitted
Run swift-format
1 parent 3c8af53 commit 3a95b70

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Sources/StructuredQueriesCore/AggregateFunctions.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ where QueryValue: _OptionalPromotable, QueryValue._Optionalized.Wrapped: Numeric
134134
distinct isDistinct: Bool = false,
135135
filter: (some QueryExpression<Bool>)? = Bool?.none
136136
) -> some QueryExpression<Double?> {
137-
AggregateFunctionExpression("avg", isDistinct: isDistinct, [queryFragment], filter: filter?.queryFragment)
137+
AggregateFunctionExpression(
138+
"avg", isDistinct: isDistinct, [queryFragment], filter: filter?.queryFragment)
138139
}
139140

140141
/// An sum aggregate of this expression.

Sources/StructuredQueriesSQLiteCore/Documentation.docc/Articles/CustomFunctions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Reminder
8888
.select { $mode(priority: $0.priority) }
8989
```
9090

91-
> Tip: Be sure to install the function in the database connection as discussed in
91+
> Tip: Be sure to install the function in the database connection as discussed in
9292
> <doc:CustomFunctions#Scalar-functions> above.
9393
9494
You can also compute the mode of priorities inside each reminders list:

0 commit comments

Comments
 (0)