hasLocalEdits method

bool hasLocalEdits()

Checks whether the feature table has local edits.

For ServiceFeatureTable, local edits are edits that have not yet been applied to the feature service. For GeodatabaseFeatureTable, local edits are edits that have been made since the last acknowledged upload. For mobile geodatabases created by ArcGIS Pro, this method returns false because there is no concept of uploading or applying edits. For mobile geodatabases, use GeodatabaseFeatureTable.hasLocalEditsSince.

When a table is not change tracked, it will throw an ArcGISExceptionType.geodatabaseChangeTrackingNotEnabled.

Return Value: True if the table has local edits, false otherwise.

Implementation

bool hasLocalEdits() {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_ArcGISFeatureTable_hasLocalEdits(
      _handle,
      errorHandler,
    );
  });
}