Skip to content

Commit c5010f3

Browse files
authored
publicize row properties (vapor#70)
1 parent 128eeb9 commit c5010f3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Sources/PostgresNIO/Data/PostgresRow.swift

+6-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,12 @@ public struct PostgresRow: CustomStringConvertible {
4242
}
4343
}
4444

45-
let dataRow: PostgresMessage.DataRow
45+
public let dataRow: PostgresMessage.DataRow
46+
47+
public var rowDescription: PostgresMessage.RowDescription {
48+
self.lookupTable.rowDescription
49+
}
50+
4651
let lookupTable: LookupTable
4752

4853
public func column(_ column: String) -> PostgresData? {

0 commit comments

Comments
 (0)