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 filter.
The or()
method adds an inclusive or
condition to this filter. A filter
with an or
returns all the items that match the filter as defined up to
the or
method, the items that match the 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.
If you use it on its own, it will return all the items in a collection.
Filter to add to the initial filter as an or
condition.