eq( )

Refines a query to match items where the specified property equals the specified value.

The eq() function refines a TicketDefinitionsQueryBuilder to match only items where the value of the specified propertyName equals the specified value. eq() matches only values of the same type. For example, 0 stored as a number doesn't match '0' stored as a string. Matching strings with eq() is case-sensitive, so 'text' isn't equal to 'Text'.

Method Declaration
Copy
Method Parameters
propertyNamestring

Property whose value is compared with value.


valueany

Value to compare against.

Was this helpful?
Yes
No