Get Started with GSQL Editor

The GSQL Editor is a powerful tool for developing and executing GSQL queries, allowing you to unlock insights from your graph databases.

Get Started with the GSQL Editor UI

The GSQL Editor contains 4 work areas:

Screenshot 2024 04 18 at 10.04.32 AM

Additionally, you can use shortcuts to run a GSQL query.

Screenshot 2024 04 18 at 10.07.17 AM

File List

The GSQL File List in the GSQL Editor provides an overview of the GSQL files in your workspace. It helps you organize and manage your GSQL queries effectively with a list of GSQL files and folders present in your organization.

  • Navigate through the files and folders by clicking on their names in the list.

    Screenshot 2024 04 18 at 10.07.50 AM

  • It also includes a search bar that allows you to search for specific files by their names.

    This feature helps you quickly locate the desired GSQL file, especially when you have a large number of files in your workspace.

    Screenshot 2024 04 18 at 10.08.25 AM
  • Additionally, click on + button to create a folder or a GSQL file.

    Screenshot 2024 04 18 at 10.08.58 AM

  • You can also order the file list by selecting an option from the order list

    Screenshot 2024 04 18 at 10.09.33 AM


The GSQL Editor in TigerGraph Cloud 4.0 has two types of folders presented in the list:

Shared Folder

The Shared Folder is a special type of folder that facilitates collaboration and sharing of GSQL files. The folder contains all GSQL files that are shared with you from other users with in the organization.

For more information about sharing GSQL files, please refer to Share GSQL Files.

User-defined Folders

These are folders created by individual users to organize their GSQL files within their personal workspace. User-defined folders allow you to group related queries or scripts together based on your own preferences. You can create, rename, and/or delete these folders as needed to manage your GSQL files effectively.

Create a Folder

To create your first folder:
  1. Click on the Folder from the + menu.

    Screenshot 2024 04 18 at 10.10.18 AM
  2. Name the folder.

    Screenshot 2024 04 18 at 10.10.47 AM
  3. You can add a new file to the folder by clicking on the + button.

  4. You can also rename or delete the folder via the menu.

    Screenshot 2024 04 18 at 10.11.14 AM

Edit Schema

The schema defines the structure of your graph database, influencing its performance and functionality. You can easily open the Schema Designer in GSQL Editor by clicking on the Screenshot 2024 04 18 at 10.06.37 AM button.

For more details please see Get Started with Schema Designer.

Next Steps

Next, learn more about how to How to Edit, Run, and Share a GSQL Query.

Or return to the Overview page for a different topic.