Files
superset2/docs/developer_docs_versioned_docs/version-6.1.0/api/execute-a-sql-query.api.mdx
Claude Code cbcfd9599f docs: cut 6.1.0 versions for docs, admin_docs, developer_docs, components
Snapshots all four versioned Docusaurus sections at v6.1.0. Built on
top of the version-cutting tooling work in chore/docs-cut-6.1.0-versions
so the snapshot benefits from:

- Auto-gen refresh before snapshotting (database pages from engine
  spec metadata, API reference from openapi.json, component pages
  from Storybook stories) — captured at the SHA we cut from rather
  than whatever happened to be on disk.
- Data-import freeze: country list, feature flag table, database
  diagnostics, and component metadata are copied into snapshot-local
  `_versioned_data/` dirs so the historical version doesn't silently
  mutate when the source files change.
- Depth-aware import-path rewriter that handles deeply-nested
  component MDX files referencing `../../../src/` from the snapshot.

Versioning behavior: `lastVersion` stays at `current` for every
section, so the canonical URLs (`/docs/...`, `/admin-docs/...`,
`/developer-docs/...`, `/components/...`) continue to render content
from master. The `current` version is consistently labeled "Next"
with an `unreleased` banner, and `6.1.0` is a historical pin
accessible only via its explicit version segment.

Component playground: previously `disabled: true` in versions-config.json,
now enabled and versioned. The plugin block in docusaurus.config.ts
was already gated only by the `disabled` flag, so no other code
changes were needed to bring it back online.

The frozen `databases.json` in the snapshot is the canonical 80-database
artifact from the latest committed state in master (preserved by the
generator's input-hash cache), not a fallback regenerated from a
local Flask environment.
2026-05-13 17:15:46 -07:00

67 lines
3.5 KiB
Plaintext

---
id: execute-a-sql-query
title: "Execute a SQL query"
description: "Execute a SQL query"
sidebar_label: "Execute a SQL query"
hide_title: true
hide_table_of_contents: true
api: eJztWVFv2zYQ/isEMaAJptRJ1wGFij6kWYqmzdq0drENceDS0sVmQ5EKeXLiGfrvw5GSLDty67YYigJ5ikLeHXnf3X080gtu4boAh89NOufxgidGI2ikT5HnSiYCpdG9T85oGnPJFDJBX7k1OViU4LyaQKHMhD51oZQYK+Ax2gIijvMceMwdWqknvIx4oiRoHMl0O2kUbpQBTs128qlAMRYOKvvVvNQIE7AkALe50OmI5D5jcGyMAqFJ4boAOz+V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IpYh73esokQk2Nw/jJ/pMnPZHL3uyg567paOpVHU1vyNlwONSM7b1kQ35YVZDHPGbPQViw7JfDo6Pjfn80ePv6+M2qwlGI1t5gnkPM1gO2lE3Zg8WQX8F8yGM25DOhChjy8gEvo8bJszlOjW652Qw0jsosNxbrZHNDPdT14wl71gw/zI3DHVqXfTUaUVCbgkjBumeLNUzC9itchpz9WlXvCM0V6LLSJt+fdfk71LtDnVupcafe90MS3tndbSPxSsxE36dUC42VwWXojXYESAOCuBES2SVgMvUQfBMAi+BHeLcjByiz1sGJazG2njnk9Mc6eRYBoYEH6GO0VGnnToDpbv4E6RrXsUnnMXvVf/vmYahueTnfWbArmLdAZuUuSRPWT4c64EN9RIPNGvKVkFHwUJnJDonuPuW++1ip6+pRlAnWvOvxiDdPm5RzPOK5wCmP+QZ4ed0sh+ouqFvsjg9fX/6UplkKM1Amz0BjRVM+b4KhRW4NmsSoMu71FmSqjBdUMOUda0eFQ5PVJiI+E1ZSw+oqZvVm6DuFS0FtZdgmp3tVkRFtVf/SH8fvgPVyMDhjjZ0y4rSbVXuNv3c21w/8S3P0xsqMZSdn/t5j7JqRTqgqfS9dlr7nqzjY95zBSc/ECz72Wfqivp2++mvAq7uOv4D62eVN1TtdRqQ8snBpwU2/1QhZcdQNNz8tHf8/r+v7X3xd3/8JXtcjLvWlCcFfiXWRg3XQvm60hqjSgtzsICSQw0z4RqKy313VK2s0HQXCLfZyJaTvwIpw1QsFf85FLmnBgwCDEmPePBvwiFOFhBI454sFxeaDVWXJl/eX84tlFfoWIeKBZz1TXNF9fYUxfdGqwl/O1vskooSgcZgk4A+MzbIXLRIjmucRH1c/dGYmJR0rbuhnC3HDY84jbjwuvoj8WDi2itBEBZuU3dSNt99y6iqoPsir+nKp560dLhZBIhwYRF3BFX/C8vKiLMv/AG8pOoE=
sidebar_class_name: "post api-method"
info_path: developer-docs/api/superset
custom_edit_url: null
hide_send_button: true
show_extensions: true
---
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";
import Translate from "@docusaurus/Translate";
<Heading
as={"h1"}
className={"openapi__heading"}
children={"Execute a SQL query"}
>
</Heading>
<MethodEndpoint
method={"post"}
path={"/api/v1/sqllab/execute/"}
context={"endpoint"}
>
</MethodEndpoint>
Execute a SQL query
<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
>
<Translate id="theme.openapi.request.title">Request</Translate>
</Heading>
<ParamsDetails>
</ParamsDetails>
<RequestSchema
{...require("./execute-a-sql-query.RequestSchema.json")}
>
</RequestSchema>
<StatusCodes
{...require("./execute-a-sql-query.StatusCodes.json")}
>
</StatusCodes>