Class PrimaryKey (3.21.0)

PrimaryKey(columns: typing.List[str])

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

Parameter

NameDescription
columns typing.List[str]

The columns that are composed of the primary key constraint.