Skip to content

Commit 479b6ec

Browse files
fix docbuild
1 parent dc58cdb commit 479b6ec

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Sources/SQLyra/DataFrame.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ extension PreparedStatement {
5454

5555
@available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
5656
public struct ColumnValueTransformer: Sendable {
57-
public static let string = ColumnValueTransformer(transform: \.string)
58-
public static let int = ColumnValueTransformer(transform: \.int)
59-
public static let double = ColumnValueTransformer(transform: \.double)
60-
public static let blob = ColumnValueTransformer(transform: \.blob)
57+
public static let string = ColumnValueTransformer { $0.string }
58+
public static let int = ColumnValueTransformer { $0.int }
59+
public static let double = ColumnValueTransformer { $0.double }
60+
public static let blob = ColumnValueTransformer { $0.blob }
6161

6262
public static let defaults: [String: ColumnValueTransformer] = [
6363
"INT": .int,

0 commit comments

Comments
 (0)