{"ok": true, "database": "docs", "table": "sections", "rows": [{"id": "pages:pages-custom-sql-queries", "page": "pages", "ref": "pages-custom-sql-queries", "title": "Custom SQL queries", "content": "The  /database-name/-/query  page can be used to execute an arbitrary SQL query against that database, if the  execute-sql  permission is enabled. This query is passed as the  ?sql=  query string parameter. \n                 This means you can link directly to a query by constructing the following URL: \n                 /database-name/-/query?sql=SELECT+*+FROM+table_name \n                 Each configured  stored query  has its own page, at  /database-name/query-name . Viewing this page will execute the query and display the results. \n                 In both cases adding a  .json  extension to the URL will return the results as JSON.", "breadcrumbs": "[\"Pages and API endpoints\", \"Queries\"]", "references": "[]"}], "primary_keys": ["id"], "primary_key_values": ["pages:pages-custom-sql-queries"], "query_ms": 5.971187987597659, "truncated": false}