-
sub_node_num = interactive_sub.execute("g.V().count()").one() #直接计算子图节点的数量 子图全量点数量 [1290] 这两个变量为什么不一致呢? |
Beta Was this translation helpful? Give feedback.
Answered by
shirly121
Sep 18, 2023
Replies: 1 comment
-
你好, |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
yecol
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
你好,
interactive_sub.execute("g.V()").one()
看起来只会返回某一个点的值,因为调用了one()
,可以改写成all()
,就可以返回包含所有点的list