File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Sources/StructuredQueriesCore Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments