in( )


Creates a search filter for matching documents whose specified field value equals any of the specified values.

The in() function is chained to a WixSearchFilterBuilder to create a WixSearchFilter. You can use the filter to match documents where the value of the specified field equals any of the specified values.

Matching strings with in() is case sensitive, so "text" is not equal to "Text".

Method Declaration
Copy
Method Parameters
fieldstringRequired

The field whose value will be compared with values. The field must be of type string or number.


valuesArray<string>Required

The values to match against.

Returns
Return Type:WixSearchFilter
Was this helpful?
Yes
No