Delete Features
delete_featuresRemove specific features from a QGIS layer by entering their feature IDs or a filter expression. Select one method, then get the confirmed count of deleted features.
Instructions
Delete features by feature IDs or expression filter. Provide either fids (list of ints) or expression (string), not both. Returns requested and the measured deleted count.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fids | No | ||
| layer_id | Yes | ||
| expression | No |