Class SetTablePrimaryKey (1.9.2)

SetTablePrimaryKey(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Options to configure rule type SetTablePrimaryKey. The rule is used to specify the columns and name to configure/alter the primary key of a table.

The rule filter field can refer to one entity.

The rule scope can be one of: Table.

Attributes

NameDescription
primary_key_columns MutableSequence[str]
Required. List of column names for the primary key
primary_key str
Optional. Name for the primary key