Class PrimaryKey (3.23.1)

PrimaryKey(columns: typing.List[str])

Represents the primary key constraint on a table's columns.

Parameter

Name Description
columns typing.List[str]

The columns that are composed of the primary key constraint.