Class PrimaryKey (3.20.1)

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.