compoundUniqueFieldSets property

Iterable<List<String>> get compoundUniqueFieldSets

Compound unique field sets declared through @@unique.

Implementation

Iterable<List<String>> get compoundUniqueFieldSets =>
    attributesNamed('unique').map(
      (attribute) => _parseAttributeFieldList(
        attribute.arguments['fields'] ?? attribute.arguments['value'] ?? '',
      ),
    );