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 {
203
203
func open< TableColumn: TableColumnExpression > ( _ column: TableColumn ) -> QueryFragment {
204
204
typealias Value = TableColumn . QueryValue . _Optionalized . Wrapped
205
205
206
- func isJSONRepresentation< T: Codable > ( _: T . Type , isOptional: Bool = false ) -> Bool
207
- {
206
+ func isJSONRepresentation< T: Codable > ( _: T . Type , isOptional: Bool = false ) -> Bool {
208
207
func isOptionalJSONRepresentation< U: _OptionalProtocol > ( _: U . Type ) -> Bool {
209
208
if let codableType = U . Wrapped. self as? any Codable . Type {
210
209
return isJSONRepresentation ( codableType, isOptional: true )
Original file line number Diff line number Diff line change @@ -40,7 +40,8 @@ extension WritableTableColumnExpression {
40
40
/// Don't create instances of this value directly. Instead, use the `@Table` and `@Column` macros to
41
41
/// generate values of this type.
42
42
public struct TableColumn < Root: Table , Value: QueryRepresentable & QueryBindable > :
43
- WritableTableColumnExpression {
43
+ WritableTableColumnExpression
44
+ {
44
45
public typealias QueryValue = Value
45
46
46
47
public let name : String
@@ -108,7 +109,8 @@ public enum GeneratedColumnStorage {
108
109
/// Don't create instances of this value directly. Instead, use the `@Table` and `@Column` macros to
109
110
/// generate values of this type.
110
111
public struct GeneratedColumn < Root: Table , Value: QueryRepresentable & QueryBindable > :
111
- TableColumnExpression {
112
+ TableColumnExpression
113
+ {
112
114
public typealias QueryValue = Value
113
115
114
116
public let name : String
You can’t perform that action at this time.
0 commit comments