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
Copy
Method Parameters

A query to add to the initial query as an or condition.

Returns
Did this help?