queryFeatureCount not getting results from local edits

55
1
02-20-2020 01:25 PM
Highlighted
New 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)
Reply
0 Kudos
1 Reply
Highlighted
Esri Frequent Contributor

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

Reply
0 Kudos