hasForeignKeyInUniqueSet property

bool get hasForeignKeyInUniqueSet

Implementation

bool get hasForeignKeyInUniqueSet => columns
    .where((c) => c.isForeignKey)
    .any((c) => uniqueColumnSet?.contains(c.name) ?? false);