$primaryKey property

Set<GeneratedColumn<Object>> get $primaryKey

The primary key of this table. Can be empty if no custom primary key has been specified.

Additional to the Table.primaryKey columns declared by an user, this also contains auto-increment integers, which are primary key by default.

Implementation

Set<GeneratedColumn> get $primaryKey => const {};