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({String? primaryKey, List<String>? primaryKeyColumns})
SetTablePrimaryKey.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
primaryKey String?
Name for the primary key
getter/setter pair
primaryKeyColumns List<String>?
List of column names for the primary key
getter/setter pair
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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