I am trying to search for the items of three owners in my ArcGIS Online organization. I can return results for one but if I try to use OR in the query, it returns items for all owners not just the ones in the OR statement. I am unsure what I am missing. It looks like the below
owner: "xxxxx@zzzzzzzzz" OR "yyyyy@zzzzz"
Hi Josh Obrecht,
In general in a query when using the OR operator in your SQL statement you will have to repeat the attribute name to make it a valid statement. If you want to specify multiple values in a WHERE clause, you can also use the IN operator. (This IN operator is actually a kind of shorthand for multiple OR conditions).
To illustrate this we will query a REST service with Dutch municipalities:
HTH,
Egge-Jan