Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我最近开始研究 Tiger Graph 并寻找用于检索所有节点和关系的 GSQL 过程。就像在 Cypher 中一样,我们有查询 Match (n) Return n。我无法使用 GSQL 找到相同查询的任何特定答案。
我承认在 Cypher 中这样做更容易,但是你去:
CREATE QUERY allOfIt() FOR GRAPH MyGraph { ListAccum <EDGE> @@allE; G = {ANY}; G2 = SELECT s FROM G:s-(:e)->:t ACCUM @@allE += e HAVING 1==0; PRINT G, @@allE; }