run_sql_batch
Run up to 10 queries against the same schema+seed. Each query executes in its OWN fresh database — writes in one query are NOT visible to the next (use this for testing variants, not for multi-statement transactions). Returns an array of run_sql results in order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Optional seed rows: {"table_name": [{"col": value, ...}, ...]}. Max 10MB total. | |
| engine | No | Engine. Server-side supports 'sqlite' (default). 'duckdb' runs in the browser demo at sqlai.dev only. | |
| schema | Yes | DDL statements. | |
| queries | Yes | Up to 10 statements, one per entry. |