Class PrimaryKey (3.22.0)

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.