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: