Compound Filters in the Apex Connector Framework

Filters can have child filters, which are stored in the subfilters property.

If a filter has children, the filter type must be one of the following.

Filter TypeDescription
AND_We return all rows that match all of the subfilters.
OR_We return all rows that match any of the subfilters.
NOT_The filter reverses how its child filter evaluates rows. Filters of this type can have only one subfilter.

This code example illustrates how to deal with compound filters.

See Also