rollback_transaction
Roll back the current database transaction, discarding all changes made since the transaction began, and closing the transaction afterward.
Instructions
Rollback the current transaction.
Discards all changes made since begin_transaction was called.
The transaction is closed after rollback.
Returns:
Dictionary containing:
- status: success or error
- in_transaction: False after successful rollback
- message: Confirmation message
Note:
If no transaction is active, returns an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||