如何用REST API查询节点和边的个数?

如何用REST API查询节点和边的个数?

查看所有节点和边类型的总个数: ` gadmin status -v gra
查看每种节点类型的个数

curl -H 'Content-Type:application/json' -X POST 'http://localhost:9000/builtins' -d '{"function":"stat_vertex_number","type":"*"}'

查看每种边类型的个数

curl -H 'Content-Type:application/json' -X POST 'http://localhost:9000/builtins' -d '{"function":"stat_edge_number","type":"*"}'

想了解更多信息请进 https://docs.tigergraph.com.cn/dev/restpp-api/built-in-endpoints#fang-wen-ji-xiu-gai-tu-shu-ju