pkey() method returns the
primary key of a table. Note that this raises an exception if the
table does not have a primary key.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.