Query repository
Last updated
Last updated
The Query Repository functions as a platform for storing, reusing, and sharing data queries sourced across your workspace. Queries are created and executed in the query repository, and can then be accessed from any QuickDEV app.
Click + New and select a data source.
Rename the query on demand.
Click the ▶ execute button to run the code and view the results. The results will be displayed in the window's bottom panel.
QuickDEV supports passing dynamic parameters to a query by introducing input configuration for the query.
To add input parameters, click on "Add" in the Inputs tab located in the right pane. You can reference these parameters using {{ }}
in the query. This allows you to input test values to evaluate the execution of the query.
To edit the name and description of the input variables, click on the ellipsis (...
) and choose "Edit", or simply click on the title of the variable directly.
Queries can be updated as needed, allowing you to make adjustments to a newer version while retaining the older version. This version management feature is available in the query repository. Click on the ···
in the top right corner to publish different versions of queries. You can also view and restore previous versions from the history.
You can post the query once you've finished writing it. Press ··· >. Release. When naming your version, use semantic semantic versioning
To view and restore the history versions, go to ···
> History version.
You can restore your current draft to a history version by selecting the target version from the history version list and clicking Restore this version.
In an app or module, Click + New in the Query editor in the bottom pane, then select Import from Query Repository.
Select a query from the repository from the dropdown list, choose your desired version and pass in corresponding input parameters.
Workspace Admin and members of Developers group have access to the Query Repository and have read and write permissions to all queries in the library.