This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Refines a query to match items whose specified property value equals the specified value.
The eq()
method refines this query to only
match items where Value of the specified property equals the specified value
.
It only matches values of the same type. For example, a number value stored as a String type does not match the same number stored as a Number type.
Matching strings with eq()
is case sensitive, so "text"
is not equal to "Text"
.
If field
points to a collection field of type array, eq()
includes the item
as long as at least one array element matches the specified value
.
Field whose value is compared with value
.
Value to match.