Skip to content

Commit 1573bdf

Browse files
stephencelisgithub-actions[bot]
authored andcommitted
Run swift-format
1 parent 1504020 commit 1573bdf

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

Sources/StructuredQueriesCore/PrimaryKeyed.swift

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,9 @@ extension Where where From: TableDraft {
153153
///
154154
/// - Parameter primaryKey: A primary key.
155155
/// - Returns: A where clause with the added primary key.
156-
public func find(_ primaryKey: some QueryExpression<From.PrimaryTable.TableColumns.PrimaryKey>) -> Self {
156+
public func find(_ primaryKey: some QueryExpression<From.PrimaryTable.TableColumns.PrimaryKey>)
157+
-> Self
158+
{
157159
self.find([primaryKey])
158160
}
159161

@@ -235,7 +237,9 @@ extension Update where From: TableDraft {
235237
///
236238
/// - Parameter primaryKey: A primary key identifying a table row.
237239
/// - Returns: An update statement filtered by the given key.
238-
public func find(_ primaryKey: some QueryExpression<From.PrimaryTable.TableColumns.PrimaryKey>) -> Self {
240+
public func find(_ primaryKey: some QueryExpression<From.PrimaryTable.TableColumns.PrimaryKey>)
241+
-> Self
242+
{
239243
self.find([primaryKey])
240244
}
241245

@@ -275,7 +279,9 @@ extension Delete where From: TableDraft {
275279
///
276280
/// - Parameter primaryKey: A primary key identifying a table row.
277281
/// - Returns: A delete statement filtered by the given key.
278-
public func find(_ primaryKey: some QueryExpression<From.PrimaryTable.TableColumns.PrimaryKey>) -> Self {
282+
public func find(_ primaryKey: some QueryExpression<From.PrimaryTable.TableColumns.PrimaryKey>)
283+
-> Self
284+
{
279285
self.find([primaryKey])
280286
}
281287

0 commit comments

Comments
 (0)