forked from tigergraph/starter_kits
-
Notifications
You must be signed in to change notification settings - Fork 2
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
5 changed files
with
62 additions
and
136 deletions.
There are no files selected for viewing
74 changes: 0 additions & 74 deletions
74
Supply-Chain-Analysis/db_scripts/queries/checkStocking.gsql
This file was deleted.
Oops, something went wrong.
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
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
15 changes: 0 additions & 15 deletions
15
Supply-Chain-Analysis/db_scripts/queries/showWholeGraph.gsql
This file was deleted.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
Supply-Chain-Analysis/db_scripts/queries/show_whole_graph.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,15 @@ | ||
create query show_whole_graph () for graph demo_graph syntax v2 | ||
{ | ||
// print all vertexes and edges | ||
SetAccum<edge> @@display_Set; | ||
|
||
Start = {ANY}; | ||
|
||
print Start; | ||
|
||
Start = select s | ||
from Start:s-((prodOrder|prodStocking|usedBy>|produce>|deliver>):e)-:t | ||
accum @@display_Set += e; | ||
|
||
print @@display_Set; | ||
} |