···1111 number_of_columns: usize,
12121313 // will be empty unless the query was executed with the column_names = true option
1414- column_names: [][]u8,
1414+ column_names: [][]const u8,
15151616 _conn: *Conn,
1717 _arena: *ArenaAllocator,
···169169 pub const State = struct {
170170 // The name for each returned column, we only populate this if we're told
171171 // to (since it requires us to dupe the data)
172172- names: [][]u8,
172172+ names: [][]const u8,
173173174174 // This is different than the above. The above are set once per query
175175 // from the RowDescription response of our Describe message. This is set for
···377377 const value = self.get(field.type, column_index);
378378 const a = allocator orelse return value;
379379 return mapValue(T, value, a);
380380- }
381381-382382- pub fn columnCount(self: *const Row) usize {
383383- return self._result.number_of_columns;
384384- }
385385-386386- pub fn columName(self: *const Row, col: usize) []const u8 {
387387- return self._result.column_names[col];
388380 }
389381};
390382