in(...)

in(...)

Matches values in a given set of options

Works with the following datatypes:

This function works with 2.1 endpoint(s). What does this mean? »

The in(...) function is used within the $where parameter to match against a set of possible values. For example, to match on the THEFT, ROBBERY, and INTIMIDATION values in the Chicago Crimes: https://data.cityofchicago.org/resource/6zsd-86xi.json?$where=primary_type in('THEFT', 'ROBBERY', 'INTIMIDATION')