File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Sources/StructuredQueriesCore Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff 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 )
Original file line number Diff line number Diff 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.
4242public 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.
110111public struct GeneratedColumn < Root: Table , Value: QueryRepresentable & QueryBindable > :
111- TableColumnExpression {
112+ TableColumnExpression
113+ {
112114 public typealias QueryValue = Value
113115
114116 public let name : String
You can’t perform that action at this time.
0 commit comments