SetTablePrimaryKey class

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.

Constructors

SetTablePrimaryKey({Input<String>? primaryKey, required Input<List<String>> primaryKeyColumns})
Creates a new SetTablePrimaryKey. primaryKey Optional. Name for the primary key primaryKeyColumns List of column names for the primary key
const
SetTablePrimaryKey.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
primaryKey → Input<String>?
Optional. Name for the primary key
final
primaryKeyColumns → Input<List<String>>
List of column names for the primary key
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited