deleteTable method

Future<void> deleteTable(
  1. {required String tableName}
)

Deletes an existing table from the geodatabase.

Deleting tables is only supported in mobile geodatabases created in ArcGIS Pro or using Geodatabase.create. Attempting further use of a deleted table, such as rendering it in a feature layer or querying it, may result in errors.

Parameters:

  • tableName — The name of the table to delete.

Return Value: A Future with no return value. If there is no error, the table was deleted successfully.

Implementation

Future<void> deleteTable({required String tableName}) {
  return _deleteTable(tableName: tableName)
      .then((_) => _geodatabaseFeatureTables.invalidateCache());
}