Instance Property

havingPredicate

The predicate used to filter rows being returned by a query containing a GROUP BY directive.

Declaration

var havingPredicate: NSPredicate? { get set }

Discussion

If a havingPredicate value is supplied, the predicate will be run after propertiesToGroupBy.Specifying a havingPredicate requires that propertiesToGroupBy also be specified.

See Also

Grouping and Filtering Dictionary Results

var propertiesToGroupBy: [Any]?

An array of objects that indicates how data should be grouped before a select statement is run in a SQL database.