I'm trying to do SELECT DISTINCT or do something equivalent with layer.queryFeatures(query);
what should the values of query should be?
Go to Solution.
@eyalj - you can define the return distinct in the query object.
query = new Query();
query.where = "condition";
query.returnDistinctValues = true);
Please refer to the API returnDistinctValues
View solution in original post
@eyalj - we have known limitations for this:
Hope you are comply with these limitations.
When i change returnDistinctValues to true it says that suddenly i dont have any values,