Query database
query_databaseRun SQL queries against an app's SQLite database to retrieve data as JSON or apply changes, returning detailed change info.
Instructions
Run SQL against the app's built-in SQLite database (/data.sqlite). SELECT returns rows as JSON; DDL/DML returns change info. The fullstack template's server uses this same file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| sql | Yes |