File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 1- #if canImport(PostgresClientKit)
1+ // TODO make conditional
22import PostgresClientKit
3- #endif
43
54struct HalfVector : Equatable {
65 var value : [ Float16 ]
@@ -14,10 +13,9 @@ struct HalfVector: Equatable {
1413 }
1514}
1615
17- #if canImport(PostgresClientKit)
16+ // TODO make conditional
1817extension HalfVector : PostgresValueConvertible {
1918 public var postgresValue : PostgresValue {
2019 return PostgresValue ( String ( describing: value) )
2120 }
2221}
23- #endif
Original file line number Diff line number Diff line change 1- #if canImport(PostgresClientKit)
1+ // TODO make conditional
22import PostgresClientKit
3- #endif
43
54struct Vector : Equatable {
65 var value : [ Float ]
@@ -14,10 +13,9 @@ struct Vector: Equatable {
1413 }
1514}
1615
17- #if canImport(PostgresClientKit)
16+ // TODO make conditional
1817extension Vector : PostgresValueConvertible {
1918 public var postgresValue : PostgresValue {
2019 return PostgresValue ( String ( describing: value) )
2120 }
2221}
23- #endif
You can’t perform that action at this time.
0 commit comments