This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Adds an or
condition to the query or filter.
The or()
method adds an inclusive or
condition to this filter. A query or filter
with an or
returns all the items that match the query or filter as defined up to
the or
method, the items that match the query or filter passed to the or
method, and the items that match both.
The or()
method is designed to work with 2 or more queries or filters. Used on its own, it returns all the items in a collection.
Filter to add to the initial filter as an or
condition.