WhereConditionGroup constructor

WhereConditionGroup()

The group of WhereConditionItem and WhereConditionGroup.

If you need like ( width > 1000 AND height > 1000) OR ( width < 500 AND height < 500), you can use this class to do it.

The first item logical type will be ignored.

final filter = AdvancedCustomFilter().addWhereCondition(
  WhereConditionGroup()
      .andGroup(
        WhereConditionGroup().andText('width > 1000').andText('height > 1000'),
      )
      .orGroup(
        WhereConditionGroup().andText('width < 500').andText('height < 500'),
      ),
);

Implementation

WhereConditionGroup();