Skip to content

Commit 267524a

Browse files
authored
Fix doc for field::num(). Been broken forever. (#976)
1 parent 334bcd2 commit 267524a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/pqxx/field.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public:
8181
/// What table did this column come from?
8282
[[nodiscard]] PQXX_PURE oid table() const;
8383

84-
/// Return row number. The first row is row 0, the second is row 1, etc.
84+
/// Return column number. The first column is 0, the second is 1, etc.
8585
PQXX_PURE constexpr row_size_type num() const noexcept { return col(); }
8686

8787
/// What column number in its originating table did this column come from?

0 commit comments

Comments
 (0)