Working with query history
Yandex WebSQL features query history. You can:
- View executed queries.
- Rerun a query.
- Publish a query.
- Configure access permissions for a published query.
- Delete a historical query.
Viewing an executed query
To view executed queries, go to
To view a specific query, select it from the history. The selected query will show up in the data panel.
Tip
To find specific queries:
- Use search by entering the database or table name in the search field.
- Apply filters by clicking Filter and selecting a connection, query execution status, and time interval.
Rerunning a query
To rerun an executed query:
-
Go to the
Query history section.Tip
To find specific queries:
- Use search by entering the database or table name in the search field.
- Apply filters by clicking Filter and selecting a connection, query execution status, and time interval.
-
Select a query: it will show up in the data panel.
-
Click Open in editor.
-
(Optional) Update query parameters.
-
Click Execute.
You can also save your query as a template.
Publishing a query
You can publish your query. Once published, the query will be available to all folder users. You cannot unpublish a query.
To publish a query:
-
Go to the
Query history section. -
Click
to the right of the query you need and select Publish. -
In the window that opens, click Publish.
You will see
Configuring access permissions for a published query
To configure access permissions:
-
Go to the
Query history section. -
Click
to the right of the query you need and select Access permissions. -
In the window that opens, click Assign roles.
-
Assign the required roles and click Save.
Deleting a historical query
-
Go to the
Query history section. -
Click
to the right of the query you need and select Delete. -
In the window that opens, click Apply.