Query database
query_databaseExecute SQL statements on the app's SQLite database, returning rows as JSON for SELECT or change info for schema and data modifications.
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 |