Skip to content

Commit

Permalink
Create explore-catalog.gsql
Browse files Browse the repository at this point in the history
  • Loading branch information
mingxiw authored Jan 21, 2025
1 parent 671f1f5 commit e61f0c0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions demos/guru_scripts/docker/tutorial/4.x/script/explore-catalog.gsql
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
//show what's in financialGraph scope
use graph financialGraph
ls

//list what's in global scope
use GLOBAL
ls

//SHOW <VERTEX> | <EDGE> | <JOB> | <QUERY> | <GRAPH> | <PACKAGE> [ <name> | <glob> | -r <regex> ]

//show vertex types
SHOW VERTEX Acc* //shows all vertex types that start with the letters "Acc"
SHOW VERTEX Ac?*t //shows the vertext types that starts with "Ac" and ends with "t"
SHOW VERTEX ????? //shows all vertices that are 5 letters long


//show query c1 content
USE GRAPH financialGraph
LS
SHOW QUERY c1

0 comments on commit e61f0c0

Please sign in to comment.