target property

List<Column<Object>>? target
final

An optional list of columns to serve as an "conflict target", which specifies the uniqueness constraint that will trigger the upsert.

By default, the primary key of the table will be used. This can be set to an empty list, in which case no explicit conflict target will be generated by drift.

Implementation

final List<Column>? target;