Select to view content in your preferred language

queryFeatureCount not getting results from local edits

412
1
02-20-2020 01:25 PM
MarkHolm
Emerging Contributor

I am adding a feature and then allowing querying for that feature without apply edits. This works fine as it gets the feature from the local cache. I have noticed that queryFeatureCount is returning 0 in this case. Does queryFeatureCount only get results from the service?

Tags (1)
0 Kudos
1 Reply
LucasDanzinger
Esri Frequent Contributor

correct, queryFeatureCount will go to the service to get the count.

0 Kudos