Is there any way to perform a distinct query on a FeatureTable? We need it to work with both ServiceFeatureTable and GeodatabaseFeatureTable.
It seems like the answer is 'no', given that QueryParameters does not have the option for it. Or does there happen to be some secret undocumented trick that could get the job done?
If it's not possible as I suspect, could we get that added to a future release? Seems like a basic requirement that's missing here.
Also, FWIW, the capability does exist in javascript.
https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-Query.html#returnDistinctValues