delete_features
Remove rows from an ArcGIS Pro layer or table using a SQL where clause, with options to save edits or delete all when confirmed.
Instructions
Delete rows matching a where clause.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| where | No | SQL where clause selecting rows to delete. | |
| map_name | No | Map to act on; defaults to the active map. | |
| layer_name | Yes | Layer or table name as shown by get_layers, or a full dataset path. | |
| save_edits | No | Commit the edits immediately instead of leaving them pending. | |
| allow_delete_all | No | Required confirmation when no where clause is given. | |
| use_edit_session | No | Wrap in an edit session. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |