data
Execute PostgreSQL database operations including insert, update, delete, and bulk actions with data validation for efficient table management.
Instructions
Data operations: insert, update, delete, bulk operations with validation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | Action: insert (single row), update (modify rows), delete (remove rows), bulk_insert (multiple rows), bulk_update (batch update), truncate (empty table) | |
data | No | Data object for insert/update (key-value pairs) | |
options | No | Operation options | |
rows | No | Array of data objects for bulk operations | |
schemaName | No | Schema name (default: public) | public |
tableName | Yes | Table name (required for all actions) | |
where | No | WHERE conditions for update/delete operations |