Metadata.
get_primary_key
Get the name of the primary key of the indicated table, if it has one.
table_name (str) – Name of table for which to get the primary key field.
Primary key field name. None if the table has no primary key.
None
str or None
ValueError – If table does not exist in this metadata.