or( )

Adds an or condition to the query.

The or() function adds an inclusive or condition to a PublicPlansQueryBuilder. A query with an or returns all the items that match the query as defined up to the or function, the items that match the query passed to the or function, and the items that match both.

The 'or()' function is designed to work with 2 or more queries. If you use it on its own, it will return all the items in a collection.

Method Declaration
This method does not take any parameters
Was this helpful?