-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
demos/guru_scripts/docker/tutorial/4.x/script/explore-catalog.gsql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |