Denis Gursky and Trevor Paddock
21 October 2021
less than a minute read
The Query Browser is another tool the RAI Console provides for exploring the contents and state of your database. The Query Browser lets you list and interact with all the relations, both EDB and IDB, defined in your database.
You can filter the listed relations you see by EDB or IDB, and you can even hide the system-defined IDBs so you can focus on the Rel specifically written for your database.
With the Query Browser’s edit panel, you can experiment with issuing query requests. Clicking on a relation adds a new tab with a simple query, e.g. def output = RELATION_NAME
. The output panel will display the results in the same way as you would see them in the RAI Notebook.
Queries are currently saved in your Web browser’s local storage, meaning you won’t get your queries in a different browser.
We created some shortcuts for using the Query Browser:
We are excited to announce worksheets, a new interface for submitting Rel queries. Worksheets allow you to develop blocks of Rel code and run them against a database. They can be shared with other users using their URLs.
Read MoreWe are excited to announce the support of varargs in Rel. You can use varargs to write more general code that works for multiple arities. Varargs can be useful when writing generic relations for common utilities.
Read MoreValue types help distinguish between different kinds of values, even though the underlying representation may be identical. Value types can be used to define other value types.
Read More