delete_records
Deletes rows from a MySQL table matching required where conditions, enabling targeted data cleanup while blocking empty filters.
Instructions
Borra registros que cumplan where (obligatorio y no vacío).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| where | Yes | Condiciones unidas por AND. {"id": 5} => id = 5; {"estado": ["a","b"]} => IN; {"borrado": null} => IS NULL | |
| database | No | Base de datos a usar (por defecto la actual de la conexión activa) |