Intersect deprecated in query API

In version 9.0, the intersect method on the Query class is deprecated. Query intersection often causes a performance problem. A better choice is to use a more efficient query type. For example, if both sides of the INTERSECT clause query the same table, use a single query. Use an AND operator to combine the restrictions from both sides of the INTERSECT to restrict the result.

See also