Skip to content

Commit 6580da0

Browse files
stephencelisgithub-actions[bot]
authored andcommitted
Run swift-format
1 parent 0fd1b27 commit 6580da0

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Sources/StructuredQueriesCore/SQLite/JSONFunctions.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,7 @@ extension TableDefinition where QueryValue: Codable {
203203
func open<TableColumn: TableColumnExpression>(_ column: TableColumn) -> QueryFragment {
204204
typealias Value = TableColumn.QueryValue._Optionalized.Wrapped
205205

206-
func isJSONRepresentation<T: Codable>(_: T.Type, isOptional: Bool = false) -> Bool
207-
{
206+
func isJSONRepresentation<T: Codable>(_: T.Type, isOptional: Bool = false) -> Bool {
208207
func isOptionalJSONRepresentation<U: _OptionalProtocol>(_: U.Type) -> Bool {
209208
if let codableType = U.Wrapped.self as? any Codable.Type {
210209
return isJSONRepresentation(codableType, isOptional: true)

Sources/StructuredQueriesCore/TableColumn.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ extension WritableTableColumnExpression {
4040
/// Don't create instances of this value directly. Instead, use the `@Table` and `@Column` macros to
4141
/// generate values of this type.
4242
public struct TableColumn<Root: Table, Value: QueryRepresentable & QueryBindable>:
43-
WritableTableColumnExpression {
43+
WritableTableColumnExpression
44+
{
4445
public typealias QueryValue = Value
4546

4647
public let name: String
@@ -108,7 +109,8 @@ public enum GeneratedColumnStorage {
108109
/// Don't create instances of this value directly. Instead, use the `@Table` and `@Column` macros to
109110
/// generate values of this type.
110111
public struct GeneratedColumn<Root: Table, Value: QueryRepresentable & QueryBindable>:
111-
TableColumnExpression {
112+
TableColumnExpression
113+
{
112114
public typealias QueryValue = Value
113115

114116
public let name: String

0 commit comments

Comments
 (0)