Reid00:
valid
是不是起点上的?
我这边好像是 ok 的,你那边有木有插入是 null / 但是 schema 里有 default 是 false 的问题?
(root@nebula) [basketballplayer]> get subgraph with prop 2 steps from "player103" BOTH follow,serve WHERE $$.player.name != "Kobe Bryant" AND $$.team.name != "Magic" yield vertices AS nodes
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| nodes |
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| [("player103" :player{age: 32, name: "Rudy Gay"})] |
| [("team204" :team{name: "Spurs"}), ("team218" :team{name: "Raptors"}), ("player114" :player{age: 39, name: "Tracy McGrady"}), ("player102" :player{age: 33, name: "LaMarcus Aldridge"}), ("team208" :team{name: "Kings"}), ("team212" :team{name: "Grizzlies"})] |
| [("player106" :player{age: 25, name: "Kyle Anderson"}), ("player138" :player{age: 38, name: "Paul Gasol"}), ("player107" :player{age: 32, name: "Aron Baynes"}), ("player125" :player{age: 41, name: "Manu Ginobili"}), ("player104" :player{age: 32, name: "Marco Belinelli"}), ("team203" :team{name: "Trail Blazers"}), ("player127" :player{age: 42, name: "Vince Carter"}), ("player135" :player{age: 28, name: "Damian Lillard"}), ("player113" :player{age: 29, name: "Dejounte Murray"}), ("player124" :player{age: 33, name: "Rajon Rondo"}), ("player105" :player{age: 31, name: "Danny Green"}), ("player109" :player{age: 34, name: "Tiago Splitter"}), ("player111" :player{age: 38, name: "David West"}), ("player100" :player{age: 42, name: "Tim Duncan"}), ("player101" :player{age: 36, name: "Tony Parker"}), ("player110" :player{age: 27, name: "Cory Joseph"}), ("team202" :team{name: "Rockets"}), ("player133" :player{age: 38, name: "Yao Ming"}), ("player140" :player{age: 46, name: "Grant Hill"}), ("player108" :player{age: 36, name: "Boris Diaw"}), ("player139" :player{age: 34, name: "Marc Gasol"}), ("player112" :player{age: 29, name: "Jonathon Simmons"})] |
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Got 3 rows (time spent 14.571ms/149.043834ms)
(root@nebula) [basketballplayer]> get subgraph with prop 2 steps from "player103" BOTH follow,serve yield vertices AS nodes
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| nodes |
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| [("player103" :player{age: 32, name: "Rudy Gay"})] |
| [("team204" :team{name: "Spurs"}), ("team218" :team{name: "Raptors"}), ("player114" :player{age: 39, name: "Tracy McGrady"}), ("player102" :player{age: 33, name: "LaMarcus Aldridge"}), ("team208" :team{name: "Kings"}), ("team212" :team{name: "Grizzlies"})] |
| [("player106" :player{age: 25, name: "Kyle Anderson"}), ("player138" :player{age: 38, name: "Paul Gasol"}), ("team226" :team{name: "Magic"}), ("player115" :player{age: 40, name: "Kobe Bryant"}), ("player107" :player{age: 32, name: "Aron Baynes"}), ("player125" :player{age: 41, name: "Manu Ginobili"}), ("player104" :player{age: 32, name: "Marco Belinelli"}), ("team203" :team{name: "Trail Blazers"}), ("player127" :player{age: 42, name: "Vince Carter"}), ("player135" :player{age: 28, name: "Damian Lillard"}), ("player113" :player{age: 29, name: "Dejounte Murray"}), ("player124" :player{age: 33, name: "Rajon Rondo"}), ("player105" :player{age: 31, name: "Danny Green"}), ("player109" :player{age: 34, name: "Tiago Splitter"}), ("player111" :player{age: 38, name: "David West"}), ("player100" :player{age: 42, name: "Tim Duncan"}), ("player101" :player{age: 36, name: "Tony Parker"}), ("player110" :player{age: 27, name: "Cory Joseph"}), ("team202" :team{name: "Rockets"}), ("player133" :player{age: 38, name: "Yao Ming"}), ("player140" :player{age: 46, name: "Grant Hill"}), ("player108" :player{age: 36, name: "Boris Diaw"}), ("player139" :player{age: 34, name: "Marc Gasol"}), ("player112" :player{age: 29, name: "Jonathon Simmons"})] |
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
Got 3 rows (time spent 13.921ms/207.451ms)