test_script
Execute SQL scripts in a sandbox transaction that automatically rolls back, allowing you to test queries and procedures without altering the database.
Instructions
Execute a script inside a sandbox transaction (ROLLBACK by default).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | ||
| sandbox | No | When true, wrap writes in a transaction and ROLLBACK (default from config) | |
| database | No | Database/schema name; defaults to connection default_database | |
| delimiter | No | ||
| connection | No | Named connection from config; defaults to default_connection |