Update DataLens saved SQL query
datalens_sqlqueries_updateUpdate an existing SQL query in DataLens by providing its ID, connection, and new query text. Returns the saved query.
Instructions
Save a SQL query anew and return it; the connection and the text go every time.
Experimental in the DataLens API and written from its document: not measured.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The text of the query. | |
| params | No | The parameters the text takes. | |
| description | No | A description. | |
| sql_query_id | Yes | SQL query id. | |
| connection_id | Yes | The connection it runs over: PostgreSQL, ClickHouse, MySQL, Greenplum, Trino. |